Bug 618265

Summary: Doc: document upgrade steps for system wide snmp config.
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: DocumentationAssignee: Deon Ballard <dlackey>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: urgent    
Version: 3.0.0CC: loleary, mhideo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-11 01:49:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 601949    
Attachments:
Description Flags
Screenshot of the SNMP alert sender plugin configuration for reference none

Description Heiko W. Rupp 2010-07-26 14:16:16 UTC
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:


PROPERTY_KEY
---------------------
SNMP_AGENT_ADDRESS               Agent Address
SNMP_AUTH_PASSPHRASE            Auth Passphrase
SNMP_AUTH_PROTOCOL              Auth Protocol
SNMP_COMMUNITY                       Community
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

Comment 1 Deon Ballard 2010-08-02 15:48:37 UTC
I added a section in the upgrade part of the install guide for manually migrating SNMP settings:

http://www.redhat.com/docs/en-US/JBoss_ON/2.4/install/html/updating-snmp.html

Comment 2 Corey Welton 2010-08-18 19:37:09 UTC
Verified.