I am running:
Nagios XI 5.5.3
CentOS Linux release 7.4.1708 (Core)
I have a host for whom I have created an snmp trap service. The snmptt.conf shows that there are 700ish traps in this OID space.(318 APC)
What I would ultimate like to do is to have a fistful of these traps in a single service and the remainder in a separate service. Then I can configure what nagios does when specific traps fire in the snmptt as well. This should let me have two traps in one service group that go critical and have the rest remain in an "ok" state but still fire.
Does that sound right to everyone?
Thanks!
SNMP Trap logical groupings
Re: SNMP Trap logical groupings
Please explain a little more by what you mean by this:
The "SNMP Traps" text is the service name in nagios so you would need to change that in the /etc/snmp/snmptt.conf in order for it to go to a different service name.
Other than that if you want to separate them into different services, if you look in your /etc/snmp/snmptt.conf file the EXEC line contains:This should let me have two traps in one service group that go critical and have the rest remain in an "ok" state but still fire.
Code: Select all
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "Blah Blah Blah $*"