Optimize 10.7 | webMethods Optimize Documentation | Administering webMethods Optimize | For System Administrators | Configuring Optimize | Configuring Rule Violation Alerts and Actions | Configuring SNMP Alerts
 
Configuring SNMP Alerts
Typically, Optimize sends alerts about rule violations by e-mail. Alternatively, you can configure Optimize to send alerts using SNMP. With SNMP alerts, when a rule is violated the Analytic Engine sends the SNMP alert to the SNMP manager associated with the rule.
The Analytic Engine sends the SNMP alert named webMethodsAlert as an enterprise-specific alert consisting of two OCTET string type variables, one containing the name of the rule that was violated and one containing the monitor ID. The SNMP manager can retrieve the subject and body strings according to the structure defined in the Optimize Management Information Base (MIB) file WEBMETHODS-COMMON-MIB.txt, located in the Optimize_directory \analysis\conf\MIB directory.
You configure SNMP settings through the My webMethods Define environments page.
*To configure settings for sending SNMP alerts
1. In My webMethods, navigate the following path: Applications > Administration > System-Wide > Environments> Define Environments.
2. Click the name of the configured environment for which you want to <task>.
3. Click the Configure Servers tab.
4. On the CONFIGURATION tree, find the Analytic Engine for which you want to configure SNMP alert settings, and click SNMP Alert Settings under the name of the Analytic Engine.
The SNMP Alert Settings page is displayed.
5. Identify the SNMP manager to receive the alert by uncommenting and editing this XML:
<properties>
<!-- (Remove this line to uncomment the file.)
<property name="SNMPManager">
<string meta="managerName">SNMP_Manager_Host1</sting>
<string meta="host">host1</string>
<integer meta="port">161</integer>
<property name="community">
<string meta="handle">passwordHandle</string>
<string meta="password">password</string>
</property>
</property>
--> (Remove this line to uncomment the file.)
</properties>
The following table provides information about the SNMP alert settings.
For
Substitute the
SNMP_Manager_Host1
Name of the SNMP manager you want to receive alerts. This value is a symbolic name and can be any string denoting the SNMP manager host.
This name also appears on the Rule Editor page when configuring the SNMP alert.
host1
Actual host name of the SNMP manager to receive the alert. Do not specify localhost; you must use the host name or IP address of the SNMP manager.
161
Port number of the SNMP manager to receive the alert.
passwordHandle
Handle used for identifying the password specified in the password string. Use SNMPCommunityHandle if you will only specify one password for SNMP Alert settings, or specify a unique handle for each password if multiple passwords will be used.
password
Specify a password. Must be accompanied by a user name. Once this settings file is saved and processed, the password is encrypted, and it is displayed only as asterisks.
If a substitution cannot be made, use an empty string instead.
Optimize displays the SNMP managers you identified in the SNMP Alert Settings panel on the Edit Rule page. For more information about selecting an SNMP manager on this page, see webMethods Optimize User’s Guide.
6. If you want to identify more than one SNMP manager to receive alerts, copy and edit the XML shown in step 5 for each SNMP manager.
7. Click Save.
8. Apply the changes by re-deploying your environment (see Changing Your Configuration Settings) and restarting the Analytic Engine as described in Starting Optimize.
9. Make sure the new settings work, as follows:
a. In My webMethods, navigate the following path: Applications > Administration > Analytics > Rules > Rule List.
b. On the Rule List page, click Create Rule.
c. In the Actions area on the Edit Rule page, click Add Action.Ensure that the Action Name list contains the SNMP managers you added to the SNMP Alert Settings panel.
If the Action Name list does not contain the SNMP managers you identified, check the syntax of the XML in the SNMP Alert Settings panel.