Page 1 of 1

Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

Posted: Wed Aug 05, 2015 3:40 pm
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

Re: Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

Posted: Wed Aug 05, 2015 4:30 pm
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.

Re: Some SNMP Traps arriving as IPADDRESS, not HOSTNAME

Posted: Wed Aug 05, 2015 4:32 pm
by ssax
You could always reach out to Cisco and F5 to see how you do it. Make sure to post the solutions here! :)