Page 1 of 1
NAGIOS XI SNMP TRAP PROBLEM
Posted: Mon Apr 27, 2015 3:36 am
by zzbouabsa
Helo,
SNMP TRAP Alernts are not working in NAGIOSXI, i installed NSTI tool, it is working fine.
I dont know how to debug this problem .Help pleez.
Re: NAGIOS XI SNMP TRAP PROBLEM
Posted: Mon Apr 27, 2015 2:26 pm
by ssax
Did you install NSTI on the same server as XI?
Re: NAGIOS XI SNMP TRAP PROBLEM
Posted: Tue Apr 28, 2015 2:51 am
by zzbouabsa
ssax wrote:Did you install NSTI on the same server as XI?
Yes in the same server
Re: NAGIOS XI SNMP TRAP PROBLEM
Posted: Tue Apr 28, 2015 3:30 pm
by ssax
Please post the relevant trap from your /etc/snmp/snmptt.conf file.
Re: NAGIOS XI SNMP TRAP PROBLEM
Posted: Tue May 05, 2015 8:41 am
by zzbouabsa
Hello i think i found the source of the problem in have to configure snmptt.conf file like this
Code: Select all
EVENT linkDown .1.3.6.1.6.3.1.1.5.3 "Status Events" Critical
FORMAT Link down on interface $1. Admin state: $2. Operational state: $3
#EXEC qpage -f TRAP notifygroup1 "Link down on interface $1. Admin state: $2. Operational state: $3"
EXEC /usr/local/nagios/libexec/submit_check_result/submit_check_result $r
SDESC
A linkDown trap signifies that the SNMP entity, acting in
an agent role, has detected that the ifOperStatus object for
one of its communication links is about to enter the down
state from some other state (but not from the notPresent
state). This other state is indicated by the included value
of ifOperStatus.
EDESC
the is no file named submit_check_result so i download one from sourceforg
i still not receaving notification in webinterface
snmptt is orking but the problem know is nagiosxi
Re: NAGIOS XI SNMP TRAP PROBLEM
Posted: Tue May 05, 2015 8:55 am
by ssax
Did you follow this guide for setting up SNMP traps on Nagios XI?
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
You would need to use the addmib command to process the MIB files for snmptt so that it replaces the exec line with the one used to put it into XI.
Here is an example of one that has been processed so you can see the differences.
Code: Select all
EVENT leoLogWarning .1.3.6.1.4.1.18102.0.3 "Status Events" Normal
FORMAT $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "$*"
SDESC
This trap is sent when a warning is logged
Variables:
1: leoUUID
2: leoMessage
EDESC
What process did you use to add those to snmptt?