Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rkymtnhigh
Posts: 95
Joined: Tue May 12, 2015 11:53 am

Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

Post by rkymtnhigh »

This whole SNMP trap thing has been quite a journey, and I'm almost there.

Some of my traps show up as HOSTNAME, and some show up as IPADDRESS. Is that a setting on the device somewhere?

These are Cisco switches and F5 load balancers.

I've looked through the configurations on these devices and can't immediately tell where I need to specify this.

Have any of you run into this?

Any help is greatly appreciated,

RMH
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

Post by ssax »

It's usually a setting on the device, I'm unsure of where it would be set on those specific devices (maybe someone else can chime in), I do know that you can configure snmptt to try to resolve hostnames by edit your /etc/snmp/snmptt.ini file and set dns_enable = 1 and if you want to strip the domain set strip_domain = 1.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

Post by ssax »

You could always reach out to Cisco and F5 to see how you do it. Make sure to post the solutions here! :)
Locked