Red Hat Bugzilla – Bug 618265
Doc: document upgrade steps for system wide snmp config.
Last modified: 2013-05-29 18:42:38 EDT
Created attachment 434430 [details]
Screenshot of the SNMP alert sender plugin configuration for reference
System wide settings for snmp alerting are not automatically carried over in RHQ 3.
We need to document what is needed.
This is only applicable for servers upgraded from 2.x (x < 4) to 2.4
Best is to make a screenshot of the current setting (Administration -> System Configuration -> Settings ) of the SNMP section before upgrading so see the current settings.
If upgrade has already been done without the screenshot, you can run the following SQL
select property_key,property_value from RHQ_SYSTEM_CONFIG where property_key like 'SNMP%';
on the JON database in order to pull the values from there. Then follow the documented steps to configure the SNMP alert sender in JON 2.4
The following table shows the property name in the database and the name of the option in the UI:
SNMP_AGENT_ADDRESS Agent Address
SNMP_AUTH_PASSPHRASE Auth Passphrase
SNMP_AUTH_PROTOCOL Auth Protocol
SNMP_CONTEXT_NAME Target Context Name
SNMP_ENGINE_ID Engine ID
SNMP_ENTERPRISE_OID Enterprise OID
SNMP_GENERIC_ID Generic ID
SNMP_PRIVACY_PROTOCOL Privacy Protocol
SNMP_PRIV_PASSPHRASE Privacy Passphrase
SNMP_SECURITY_NAME Security Name
SNMP_SPECIFIC_ID Speficic ID
SNMP_TRAP_OID Trap OID
SNMP_VERSION SNMP protocol version
I added a section in the upgrade part of the install guide for manually migrating SNMP settings: