How to send snmp traps from the rhev-h system to the monitoring tools?
Environment
- Red Hat Enterprise Virtualization 3.x
- Red Hat Enterprise Virtualization Hypervisor 6.x (rhevh-6.x comes with snmp V3 by default)
Issue
- How to send snmp traps from the rhev-h system to the monitoring tools?
Resolution
- To configure snmp on rhev-h refer KB-62764.
- Then make the following entries under the snmpd.conf file to send the traps from the rhev-h system:
trapsess xxx.xxx.xxx.xxx public
iquerySecName root
monitor -u root -r 30 "PowerStatus" <expression>
NOTE: In the above trapsess can be replaced by trap2sink if want to receive the traps in snmp v2
format.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments