14 Oct
2013
14 Oct
'13
11:06 p.m.
On 2013-10-14 21:42, Tim Schuh wrote:
Every time you make a call to get_snmp_*() you also make a calls to DNS via gethostbyaddr() and getaddrbyhost() though not directly by PHP. If you need to relieve stress on your little DNS server you should probably consider running a caching DNS server on your monitoring host. You should probably also consider putting in a DNS server built in this decade.
We don't use the PHP SNMP functions, we fork to the snmp binaries instead.
Same thing though, every SNMP operation will cause a DNS lookup if you're not locally caching DNS queries.
adam.