Defining SNMP Alert Settings
When you define an SNMP trap and a rule is violated, the Analytic Engine sends the webMethods Alert SNMP trap alert to the SNMP manager associated with that violated rule.
Specify the SNMP managers that will receive these alerts using the SNMP alert settings. The SNMP managers that you define in the SNMP alert settings will appear on the Add / Edit / Copy Rule page when you configure alerts.
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 directory Optimize_directory \analysis\conf\MIB.
For more information about configuring SNMP alert settings, see Administering webMethods Optimize.
Note:
To complete this procedure, you will need to obtain an encrypted SMTP community name for step 5. For more information about configuring SNMP Data Collector, see information about configuring the SNMP Data Collector in the PDF publication Administering webMethods Optimize.
To specify one or more SNMP managers
1. In My webMethods: Navigate > Applications > Administration > System-Wide > Environments > Define Environments.
2. On the Define Environments page, click the name of the environment you want to work with.
3. On the Edit Environment page, click the Configure Servers tab.
4. Under the appropriate Analytic Engine logical server node in the configuration tree, click SNMPAlert Settings.
5. In the text editor that appears in the SNMP alert settings area, remove the comment tags in the XML snippet and specify the settings.
The following table provides information about the SNMP alert settings.
Setting | Description |
managerName | Name of the SNMP manager that 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 Add / Edit / Copy Rule page when you configure alerts. |
host | 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. |
port | Port number of the SNMP manager to receive the alert. |
community | Encrypted community name for the Analytic Engine to use to communicate with the SNMP manager. Encrypt the community name as described in Chapter 9, “Configuring and Using the SNMP Data Collector” of Administering webMethods Optimize. Paste the encrypted community name into the community attribute. |
Optimize displays the SNMP managers you identify here in the Alerts panel on the Add / Edit / Copy Rule page. For more information about selecting an SNMP manager on the Add / Edit / Copy Rule page, see the Optimize documentation.
6. If you want to identify more than one SNMP manager to receive alerts, copy and edit the commented XML in the text editor; add and configure a new section for each SNMP manager.
7. Click Save to save changes or click Cancel to discard any changes you have made in this settings area.
If you click Finish without first clicking Save, any changes made to these settings will be lost.
8. To configure another logical server subcomponent, click the name of that subcomponent in the configuration tree.
9. Click Finish to close this page and return to the Define Environments page.