SNMP Trap - Trap Going in unconfigured Object

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
biswajit.banerjee
Posts: 152
Joined: Fri Dec 08, 2017 10:24 pm

SNMP Trap - Trap Going in unconfigured Object

Post by biswajit.banerjee »

Hi Team ,

Snmp Trap configured on Rukcus Controller , Device / Service Mapped in Nagios XI , MIB uploaded But Traps going in Unconfigured Objects .

I have Added few SCreen shot for clarity .

Can you please help to understand why it showing in unconfigured Obect when the device is already mapped to with trap .

Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP Trap - Trap Going in unconfigured Object

Post by tgriep »

The reason the SNMP Trap is showing up in the Unconfigured Objects menu is caused by the IP address cannot be looked up in DNS to get the host name.

When a trap is received, it is received by it's IP address and if that IP address is setup in DNS, it should be sent to the Nagios Process using the host name.
If the hostname cannot be looked up in DNS, it will only be the IP address passed to XI.

To show up in the Service Status of the SNMP Traps service, the host name has to exactly match the Host Name in XI, since it does not, it will will not show up in the Service Status.

To fix this, you will have to add that IP address to your DNS server with the exact Hostname defined in XI or if you do not have access to your DNS servers, you can add the enrey in the /etc/hosts file on the Nagios server.

That way, the IP address will be resolved to the Host Name in XI.

Another thing to look at is the DNS settings for the snmptt daemon in the /etc/snmp/snmptt.ini file.
Name sure it is enabled to do DNS lookups.

Code: Select all

dns_enable = 1
See this link for more details in the DNS settings for the snmptt daemon.
http://snmptt.sourceforge.net/docs/snmptt.shtml#DNS
Be sure to check out our Knowledgebase for helpful articles and solutions!
biswajit.banerjee
Posts: 152
Joined: Fri Dec 08, 2017 10:24 pm

Re: SNMP Trap - Trap Going in unconfigured Object

Post by biswajit.banerjee »

Thanks for Support . Issue is resolved
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP Trap - Trap Going in unconfigured Object

Post by scottwilkerson »

biswajit.banerjee wrote:Thanks for Support . Issue is resolved
Great!

Locking Thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked