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
SNMP Trap - Trap Going in unconfigured Object
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
SNMP Trap - Trap Going in unconfigured Object
You do not have the required permissions to view the files attached to this post.
Re: SNMP Trap - Trap Going in unconfigured Object
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.
See this link for more details in the DNS settings for the snmptt daemon.
http://snmptt.sourceforge.net/docs/snmptt.shtml#DNS
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 = 1http://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
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
Great!biswajit.banerjee wrote:Thanks for Support . Issue is resolved
Locking Thread