hi all..
i am running this script to gather stats for my MRTG MIB so i know my DNS performance.. i got it off the web, so i am guessing some of u use it too..
#!/bin/sh
#
# bindstats -- dump bind stats for MRTG
#
#Verify location!
STATSFILE="/var/lib/named/named.stats";
#Clear stats file first...
cat /dev/null > $STATSFILE;
#Dump stats...
# Use ndc for BIND8, rndc for BIND9
/usr/sbin/rndc stats
cat $STATSFILE;
it gathers stats fine and feeds them to MRTG.. my only problem is that MRTG caps at 60 requests per minute, for all my name servers..
my Maxbytes MIB is set to 32000 and AbsMax set to 64000 .. why are the records capping out at 60 only, and yet i am sure there could be a variation, upward mostly, as it's not dropping..
all help appreciated..
i am running this script to gather stats for my MRTG MIB so i know my DNS performance.. i got it off the web, so i am guessing some of u use it too..
#!/bin/sh
#
# bindstats -- dump bind stats for MRTG
#
#Verify location!
STATSFILE="/var/lib/named/named.stats";
#Clear stats file first...
cat /dev/null > $STATSFILE;
#Dump stats...
# Use ndc for BIND8, rndc for BIND9
/usr/sbin/rndc stats
cat $STATSFILE;
it gathers stats fine and feeds them to MRTG.. my only problem is that MRTG caps at 60 requests per minute, for all my name servers..
my Maxbytes MIB is set to 32000 and AbsMax set to 64000 .. why are the records capping out at 60 only, and yet i am sure there could be a variation, upward mostly, as it's not dropping..
all help appreciated..