[dns-operations] Monitoring DNS BIND with SNMP ?

Alejandro Flores alex at mordormx.net
Tue Nov 12 15:25:58 UTC 2019


mmm i would suggest to use rndc stats executed as extend snmp or a more
complex solution as mentioned on this url
https://computingforgeeks.com/how-to-monitor-bind-dns-server-with-prometheus-and-grafana/


personally i prefer the snmp extended.
just modify the */etc/snmp/snmpd.conf*

add a line like

extend snmpd_status /bin/bash /root/myscript.sh

restart snmpd

snmpwalk -v 2c -c public -O e 127.0.0.1 NET-SNMP-EXTEND-MIB::nsExtendObjects


replace /root/myscript.sh with the command to get the stat you want  " rndc
stats" with awk or sed to filter the number you want.

Regards!
Alejandro Flores L.


On Tue, Nov 12, 2019 at 9:02 AM Bob Harold <rharolde at umich.edu> wrote:

> Does anyone have recommendations for monitoring BIND with SNMP ?  I don't
> seem to find anything from ISC, and not much else on the web that looks
> good.
>
> I specifically need to monitor the query rate (a mistake on a cluster with
> thousands of nodes can make a DNS server very busy).
>
> --
> Bob Harold
>
> _______________________________________________
> dns-operations mailing list
> dns-operations at lists.dns-oarc.net
> https://lists.dns-oarc.net/mailman/listinfo/dns-operations
>


-- 
Alejandro Flores L.
LIA. CEH. VCP.
5513998178
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dns-oarc.net/pipermail/dns-operations/attachments/20191112/2acc39bd/attachment.html>


More information about the dns-operations mailing list