Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
root@dns1:/usr/local/bin# perl bind9-snmp-stats.pl
Use of uninitialized value $tmp in substitution (s///) at bind9-snmp-stats.pl line 504.
Use of uninitialized value in open at bind9-snmp-stats.pl line 508.
Use of uninitialized value in concatenation (.) or string at bind9-snmp-stats.pl line 508.
: No such file or directory at bind9-snmp-stats.pl line 508.
root@dns1:/usr/local/bin# perl bind9-snmp-stats.pl
Use of uninitialized value $tmp in substitution (s///) at bind9-snmp-stats.pl line 504.
Use of uninitialized value in open at bind9-snmp-stats.pl line 508.
Use of uninitialized value in concatenation (.) or string at bind9-snmp-stats.pl line 508.
: No such file or directory at bind9-snmp-stats.pl line 508.
NOTE (3):
=================
As of version 1.4, there a config file you need to create.
This is (by default) '/etc/bind/.bindsnmp'.
It have the following format (my values as example):
----- s n i p -----
DEBUG=4
DEBUG_FILE=/var/log/bind9-snmp-stats.log
STATS_FILE=/var/log/dns-stats.log
STATS_FILE_OWNER_GROUP=bind9.bind9
RNDC=/usr/sbin/rndc
DELTA_DIR=/var/tmp/
----- s n i p -----