On 10/14/13 2:06 PM, Adam Armstrong wrote:
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.
That's really my question...what to change on the local resolver or Observium itself to cache responses?
Asking the same question hundreds of times in a few seconds is just silly.
Thanks!
dn