SNMP Trap results not in passive check "SNMP Traps"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
BR_Nagios
Posts: 2
Joined: Thu Jan 28, 2021 10:21 am

SNMP Trap results not in passive check "SNMP Traps"

Post by BR_Nagios »

Hello Support,

we try to monitor a device through it's snmp traps. we installed the mib's in Nagios XI (latest version) in "Manage MIBs" with "Process traps" checked. All the Traps are imported and we can see them in "Defined Traps" in "SNMP Trap Interface". We added the device as a new host with a passive check. The passive Check was added using the "SNMP Trap"-Wizard (we followed the instructions from this document: https://assets.nagios.com/downloads/nag ... h-NXTI.pdf)
What we expected is, that all SNMP Traps would result in a Notification generated by the passive Check "SNMP Traps". We see a lot of Traps in "Received Traps" in "SNMP Trap Interface" from the device, in the passive Service noting is shown, there is always "Wating for trap..." as Status Information.
are there any additional things that need to be done to make this work?

Best Regards
Reinhold Krinninger
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP Trap results not in passive check "SNMP Traps"

Post by tgriep »

Try this
Login to XI and go to the Admin > Unconfigured Objects menu and see if the Trap is there. If so, configure it so the system will automatically receive the traps the next time it is received.

If DNS is not setup, the trap would show up in the Unconfigured Objects as the IP address and if that does not match what you setup with the wizard if you used a Hostname, then it will not show up in XI as the IP address does not match the hostname.

If it is not in the Unconfigured Objects menu, we would need to see the SNMP configuration files and the MIB files from the server so can you run the following 3 commands as root in the Nagios XI server.

Code: Select all

tar cvfz /tmp/snmp.tgz /etc/snmp/*
tar cvfz /tmp/sharesnmp.tgz /usr/share/snmp/mibs/* --dereference
tar cvfz /tmp/snmplog.tgz /var/log/snmptt/*
Then post these 3 files so we can check the settings and the MIB files for any errors.

Code: Select all

/tmp/snmp.tgz
/tmp/sharesnmp.tgz
/tmp/snmplog.tgz
Thank you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
BR_Nagios
Posts: 2
Joined: Thu Jan 28, 2021 10:21 am

Re: SNMP Trap results not in passive check "SNMP Traps"

Post by BR_Nagios »

Hello,

thanks for the hint. The Traps were in "unconfigured Objects". I updated the host configuration, now the Traps are visible in the "SNMP Traps"-Service. Many Thanks for your help.

Best Regards
Reinhold Krinninger
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP Trap results not in passive check "SNMP Traps"

Post by tgriep »

Your welcome, glad it is all working now.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked