Enabling SNMP Traps

The features described on this page are available through the Hyperic HQ Enterprise Subscription


Enabling SNMP Traps

To enable HQ to send SNMP traps, a configuration property must be set in the HQ database. To access a SQL interface to the HQ database, use a browser to navigate to the following URL on your HQ installation:

http://hqhost:hqport/admin/sql.jsp

The credentials for an HQ administrator will need to be supplied to access this page. When the page is loaded, enter the following SQL in the textfield:

update EAM_CONFIG_PROPS set PROPVALUE = 3 where PROPKEY = 'SNMP_VERSION'

Click the execute button and verify that the SQL is executed. Restart the HQ Server and the change will take effect. Now the SNMP Trap tab will appear on the View Alert Definition page and SNMP traps can be configured. This is a one time configuration setting and will not have to be repeated.

Once the server has restarted, then you will need to configure HQ for your SNMP server. Go to the HQ Server Configuration page for more details.

Sending SNMP traps for alerts is a type of notification. When you view an alert definition, if SNMP is enabled, then you will see SNMP Trap as one of the notification tabs. Click on the tab to set the Address of the target SNMP engine and OID for the trap you would like to send. The SNMP engine address is in the form of "ip_address/port", for example, 10.0.0.5/161. The OID (object identifier) consists of numbers separated by decimal points, for example, 1.6.3.24.1.

Labels

 
(None)
System Monitoring Software
SourceForge.net Logo