Creating a Simple Network Management Protocol (SNMP) trap action
You use the SNMP trap action if you want OpenEdge Management resource-related event notifications to be sent to your SNMP management console. You define name, description, host, port, and read community details to send event notifications, referred to as traps, to SNMP management consoles such as BMC's PATROL Enterprise Manager Connect SNMP and Tivoli Enterprise Console.
The SNMP trap action generates an asynchronous message to an SNMP management console.
Note the following information about SNMP trap actions:
- To define SNMP trap actions, you must have previously installed the OpenEdge Management SNMP Adapter product. You must also define the OpenEdge Management SNMP Adapter option on the OpenEdge Management Configuration page.
- To send SNMP trap actions and make SNMP requests, the SNMP agent must be running. To review or change the current status of the SNMP agent, select Options from the menu bar and select SNMP to display the SNMP Adapter page. Note that this page also displays a summary of the SNMP information set up on the OpenEdge Management Configuration page. You can elect to edit this information.
Table 4–4 contains two examples that show how you can obtain alert details from the- All OpenEdge Management-specific SNMP variables and tables are located in the OpenEdge Management Information Base (MIB). The MIB file,
PSC-FM-MIB.txt,
is located in the<
OpenEdgeManagement-install-dir>\config
directory. Review the contents of this file and focus specifically on thefmalertTable
, which contains information specific to each alert. The alert ID information in this file allows you to understand the contents of this table.fmalertTable
.
For more information about the SNMP Adapter and its configuration, see the OpenEdge Management: Installation and Configuration Guide. For information about initiating SNMP GET requests from an SNMP agent, see the SNMP documentation for your particular SNMP management console product.
To create an SNMP Trap Action:
- Select Library from the menu bar. The OpenEdge Management Component Library page appears in the detail frame.
- Click Create SNMP Trap Action. The SNMP Trap Action page appears:
![]()
- Enter the name in the Name field. You must not use spaces or special characters such as an asterisk (*), ampersand (&), or period ( . ) in the Name field.
- Enter a description in the Description field.
- Enter the name of the host machine on which the SNMP management agent resides in the Host field. Traps will be sent to this host machine. (If you set a default value for the Host field on the OpenEdge Management Configuration page, that value appears in this field.)
- Enter the port number of the host machine on which the SNMP management agent resides in the Port field. Traps will be sent to this port number on the host machine. (If you set a default value for the Port field on the OpenEdge Management Configuration page, that value appears in this field.)
- Enter the community who will have read access to the trap information in the Read Community field. Your choices are public, private, or any other community you have set up for access. (If you set a default value for the Read Community field on the OpenEdge Management Configuration page, the value appears in this field.)
- Click Save.
Once you have set up SNMP trap actions, you can associate them with resources just as you would any OpenEdge Management action. When the resource generates an alert, the SNMP trap action is thrown.
You can review the contents of the trap (known as variable bindings) as they are defined in the MIB. You can query these variables any time the OpenEdge Management SNMP Adapter agent is running.
Copyright © 2008 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |