Page 2 of 2

Re: SNMP help

Posted: Mon Apr 07, 2014 11:24 am
by sreinhardt
As long as your XI box has the ability to resolve hostnames, you should be able to modify the /etc/snmp/snmptt.ini file and make sure the following are enabled or set to these values:

Code: Select all

dns_enable = 1
strip_domain = 0
resolve_value_ip_addresses = 1

strip_domain_list = <<END
domain.com
END
You will then need to restart just the snmptt service "service snmptt restart"

I should note that this will have the potential to greatly slowdown the processing of traps, as it will be forced to do a dns query for each IP address it encounters. So if you have quite a lot of devices sending traps, this may be an issue, however if you are still pretty small, it should not be to big of an issue.

Re: SNMP help

Posted: Mon Apr 07, 2014 11:59 am
by costanza2k1
sreinhardt wrote:As long as your XI box has the ability to resolve hostnames, you should be able to modify the /etc/snmp/snmptt.ini file and make sure the following are enabled or set to these values:

Code: Select all

dns_enable = 1
strip_domain = 0
resolve_value_ip_addresses = 1

strip_domain_list = <<END
domain.com
END
You will then need to restart just the snmptt service "service snmptt restart"

I should note that this will have the potential to greatly slowdown the processing of traps, as it will be forced to do a dns query for each IP address it encounters. So if you have quite a lot of devices sending traps, this may be an issue, however if you are still pretty small, it should not be to big of an issue.
hey thanks a lot! I went ahead and implemented a workaround...works like a charm, this thread can by resolved, thanks!