we have the problem with slow trap processing. I found out that it is a DNS matter. When I add the hosts to /etc/hosts everything is fast but this is impossible to do for every router we have.
We don't use a dns server in this network so DNS queries go to nirvana. How can I avoid that snmptrapd and / or snmptt try to resolve IP addresses to hostnames before giving the trap to Nagios XI? Of course in XI they should still be assigned to the hostname which is configured in XI.
Thanks a lot and best wishes
b2m
Code: Select all
cat /etc/snmp/snmptrapd.conf
disableAuthorization yes
traphandle default /usr/local/sbin/snmptthandler
Code: Select all
cat /etc/snmp/snmptt.ini | grep dns
dns_enable = 0