Hi Nico, On 26 Feb 2004, Nicolas Strina wrote: > I would like to know if someone is using perl/php script to monitor > BIND-9 ? I'd like to find something that is doing RRd's ..
Bind9 gives you plenty of data you can monitor. Assuming that rndc is set up correctly, and your bind-directory is set to /var/cache/bind, the following not-so-beautiful command sequence gives you the number of successfully answered queries: ,-- | /usr/sbin/rndc stats | tail -7 /var/cache/bind/named.stats | head -1 | cut -d" " -f2 `-- It is quite straightforward to integrate this data into a monitoring environment. Also out the other values in named.stats! Hope this helps Oliver
pgp00000.pgp
Description: PGP signature
