Table of Contents

Search

  1. Preface
  2. Part 1: Introducing Operational Insights
  3. Part 2: Monitoring Informatica Intelligent Cloud Services
  4. Part 3: Monitoring on-premises applications

Operational Insights

Operational Insights

Use alert scripts

Use alert scripts

You can create scripts that Operational Insights executes to perform additional tasks when an alert is triggered, such as creating a support ticket or taking a snapshot of CPU statistics.
Operational Insights contains rules that correspond to the Secure Agent alerts that you enable. You specify the name of each rule to execute in the script. For each rule, you specify parameters that Operational Insights passes to the script.
An alert script can invoke a batch file, a shell script, or an EXE file. The executable file or program must be self contained.
Copy the script to a directory on the Secure Agent host. Each time the script executes, Operational Insights writes the script output and errors to log files in the same directory on the Secure Agent host where the script executes.
If the script output directory is under the Secure Agent installation directory, you might see an error when you open the log file on Windows. To resolve this issue, perform one of the following steps:
  • Open the log file with the Administrator privilege.
  • Grant read, write, and execute permissions for the script output directory and the files within it.
Alternatively, you can create the script output directory outside the Secure Agent installation directory and manually move the earlier log files to the new script output directory. In Administrator, open the
Runtime Environments
page. Edit the Secure Agent and select the
OI Data Collector
service. Edit the
scriptLogDir
property value for OpsInsights and specify a script output directory that is outside the Secure Agent installation directory.
Click here to view an example of an alert script.

0 COMMENTS

We’d like to hear from you!