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
SNMP Trap results not in passive check "SNMP Traps"
Re: SNMP Trap results not in passive check "SNMP Traps"
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.
Then post these 3 files so we can check the settings and the MIB files for any errors.
Thank you.
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/*
Code: Select all
/tmp/snmp.tgz
/tmp/sharesnmp.tgz
/tmp/snmplog.tgzBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMP Trap results not in passive check "SNMP Traps"
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
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
Re: SNMP Trap results not in passive check "SNMP Traps"
Your welcome, glad it is all working now.
Be sure to check out our Knowledgebase for helpful articles and solutions!