receive traps from Oracle Enterprise Manager

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tnightingale
Posts: 9
Joined: Thu Oct 15, 2015 11:33 am

receive traps from Oracle Enterprise Manager

Post by tnightingale »

I would like to set up SNMP trap retrieval from Oracle Enterprise Manager (EM).

EM has a MIB file that I have successfully imported. But not sure what to do next since the SNMP trap wizard is host oriented and the host has to already exist.

EM can and is monitoring our entire Oracle infrastructure (Axiom SAN, Solaris servers and OSs, Oracle databases). Would like to forward all the traps to nagiosxi as so nagiosxi can fxn essentially as an aggregator in this case that then passes on to our paging system..

Is this possible?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: receive traps from Oracle Enterprise Manager

Post by Box293 »

tnightingale wrote:EM has a MIB file that I have successfully imported. But not sure what to do next since the SNMP trap wizard is host oriented and the host has to already exist.
That can be changed.

Here's an example from /etc/snmp/snmptt.conf

Code: Select all

EVENT TestTrap .1.3.6.1.4.1.318.0.998 "Status Events" INFORMATIONAL
FORMAT APC UPS: This is a Test Trap.
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "APC UPS: This is a Test Trap."
In the EXEC line it's the $r that targets the host in Nagios XI.

If you wanted all traps for this OID to go to server 192.168.243.18 then change it to:

Code: Select all

EXEC /usr/local/bin/snmptraphandling.py "192.168.243.18" "SNMP Traps" "$s" "$@" "$-*" "APC UPS: This is a Test Trap."
Its the host object in Nagios that is being targetted, so if it's not an IP Address change it to the object name.

Does this help?

SNMPTT Documentation is very good:
http://snmptt.sourceforge.net/docs/snmp ... ONF-FORMAT
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked