Steps for creating rules

After the preliminary setup, you create rules for notifications.

To create rules

  1. From the VEA Control Panel perspective, select the actionagent node in the tree view.
  2. Double-click Rule Manager in the right pane.

    The Rule Manager window is displayed.

  3. Click New Rule to start the New Rule Wizard.

    The New Rule Wizard Welcome appears.

  4. Review the steps of the wizard and click Next to continue.
  5. On the Rule Properties window, do the following:

    • Enter a name for the rule.

    • Select the type of rule you want to create. Choose one of the following:

      • A rule based on the Alert topic.

      • A rule based on the severity of alerts.

    • Further define your rule by selecting either an Alert topic or a severity level as follows:

      • Enter a topic or click Select to select a topic from a list if you chose a rule based on an Alert topic.

      • Select one of the severity levels if you chose a rule based on the severity of the alerts.

      Click Next to continue.

  6. On the Select host for Rule window, select Trigger rule for alerts originating from specific hosts and check the appropriate host in the lower part of the window.

    Click Next to continue.

  7. On the Select Actions window configure one or more of the following actions to be taken when the events are detected:

    • Send email notification to recipients.

      Enter the email addresses that are to receive notification.

    • Send SNMP trap notification to a host.

      Specify the host name and port number to use to send the notification.

    • Execute command on a host.

      Specify the name of the host, source host that has the source file (script), path of the source file, and the parameters for the source file. The source file can be of any executable file type, such as .cmd or .bat; and the source file must not be dependent on any libraries. Separate the parameters by spaces or by the delimiter that the source file recognizes. In standalone mode, the host and source host identify the same host.

      An individual log file is created and maintained for each rule that executes a command on a host. Each time the command is executed entries are made into its log file. The log files are located at C:\Documents and Settings\All Users\Application Data\Veritas\VRTSaa\Log.

    Click Next to continue.
  8. On the Finish Rule Setup window, review your settings and check the Enable Rule check box.

    Click Finish to complete setting up the rule.