Page 1 of 1

SNMP Trap - Trap Going in unconfigured Object

Posted: Mon May 11, 2020 2:38 am
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

Re: SNMP Trap - Trap Going in unconfigured Object

Posted: Mon May 11, 2020 1:00 pm
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

Re: SNMP Trap - Trap Going in unconfigured Object

Posted: Mon May 11, 2020 11:59 pm
by biswajit.banerjee
Thanks for Support . Issue is resolved

Re: SNMP Trap - Trap Going in unconfigured Object

Posted: Tue May 12, 2020 6:55 am
by scottwilkerson
biswajit.banerjee wrote:Thanks for Support . Issue is resolved
Great!

Locking Thread