[rrd-users] Re: Problems with RRD and graphing BIND...........
Alex Ponnath
alexp at iccinternet.com
Mon Mar 3 17:45:25 MET 2003
Yes, it seem to put something out like "N:12:13::20:5:" I thought N was
a function of
RRD which holds the current time. Did I miss something ?
Alex
-----Original Message-----
From: Serge Maandag [mailto:serge.maandag at staff.zeelandnet.nl]
Sent: Monday, March 03, 2003 1:18 AM
To: Alex Ponnath; rrd-users at list.ee.ethz.ch
Subject: RE: [rrd-users] Problems with RRD and graphing BIND...........
I don't see what's wrong at first glance, are you sure your script is
outputting valid data? Not something like: N:12:13::20:5: ?
What I do see though:
"RRA:AVERAGE:0.5:6:17520",
"RRA:AVERAGE:0.5:24:4380",
6 * 17520 is the same timespan as 24 * 4380, so the second one
effectively does nothing and will not be used.
Serge.
-----Original Message-----
From: Alex Ponnath [mailto:alexp at iccinternet.com]
Sent: Monday, March 03, 2003 5:35 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Problems with RRD and graphing BIND...........
Hi,
i know what i am going to ask might be something i should be able to
find somewhere in the docs but for some reason i am not. I have a script
which uses the named.stats file to extract the nbr of queries and some
other stuff of my dns server. So far so good but when i try to enter all
this in rrd i am not getting anything back.
First off i created my rrd file like this..
RRDs::create ($rrd, "--start",$start-1, "--step",300,
"DS:ok:GAUGE:600:U:U",
"DS:fail:GAUGE:600:U:U",
"DS:referal:GAUGE:600:U:U",
"DS:nxrrset:GAUGE:600:U:U",
"DS:nxdomain:GAUGE:600:U:U",
"DS:recursion:GAUGE:600:U:U",
"RRA:AVERAGE:0.5:1:7000",
"RRA:AVERAGE:0.5:6:17520",
"RRA:AVERAGE:0.5:24:4380",
"RRA:AVERAGE:0.5:288:1825",
"RRA:MAX:0.5:1:7000",
"RRA:MAX:0.5:6:17520",
"RRA:MAX:0.5:24:4380",
"RRA:MAX:0.5:288:1825",
"RRA:MIN:0.5:1:7000",
"RRA:MIN:0.5:6:17520",
"RRA:MIN:0.5:24:4380",
"RRA:MIN:0.5:288:1825");
i want to store the data for quite some time, thats why i have these
large values........ and i chose gauge since i will pass a nbr for each
DS which reflect nbrs of querys for the 5 Min interval. Also i want to
keep track of the max values an Min Values. I hope this is ok so far.
Now i run a script every 5 minutes which feeds the data into the rrd
db.....
RRDs::update
("bindns2laxus.rrd","N:$ok:$fail:$referal:$nxrrset:$nxdomain:$recursion"
);
which seems to run fine because i dont get any errors.....
then when i try to graph this i get nothing but a blank graph...
/usr/local/rrdtool-1.0.41/bin/rrdtool graph -w 650 -h 200
myrouter-dns.png --start -3600 \ DEF:dnsok=bindns2laxus.rrd:ok:AVERAGE
\ DEF:dnsfail=bindns2laxus.rrd:fail:AVERAGE \
DEF:dnsreferal=bindns2laxus.rrd:referal:AVERAGE \
DEF:dnsnxrrset=bindns2laxus.rrd:nxrrset:AVERAGE \
DEF:dnsnxdomain=bindns2laxus.rrd:nxdomain:AVERAGE \
DEF:dnsrecursion=bindns2laxus.rrd:recursion:AVERAGE \
AREA:dnsok#00FF00:"Ok" \
LINE1:dnsfail#0000FF:"Fail" \
LINE2:dnsreferal#FF00FF:"Referal" \
LINE3:dnsnxrrset#FF0000:"Nxrrset" \ LINE4:dnsnxdomain#555555:"Nxdomain"
\
LINE5:dnsrecursion#FFFFFF:"Recursion"
I hope someone can point me here in the right direction... Thanks
Alex
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list