[rrd-users] Monitoring Spoolers
Rob Ford
r.ford at pindar.com
Tue Jan 15 13:05:23 MET 2002
Can anyone help with the following problem:
All I need to monitor is a spooler i.e. so many files go in and out of it throughout the day/night. About a year ago I used MRTG to perform this task, but I now require the extra graphical functions of RRD. I found MRTG fairly straight forward, but unfortunately RRD has proved to be alot more tricky.
Having read through the tutorials and mailing-archives, I created my database as follows:
rrdtool create brisqck.rrd -s 60 DS:brisqck:ABSOLUTE:60:0:200 RRA:AVERAGE:0.5:1:6000
I then wrote a perl script that ran every min on a crontab that updated the database using the following command:
rrdtool update brisqck.rrd N:value
If I try and retrieve any information using fetch this is what I get back:
rrdtool fetch brisqck.rrd AVERAGE
sample.......
1011007800: 1.0000000000e+00
1011008100: 1.0000000000e+00
1011008400: 1.1966666667e+00
1011008700: 1.1933333333e+00
1011009000: 2.5966666667e+00
1011009300: 2.0100000000e+00
1011009600: 1.0000000000e+00
1011009900: 2.0000000000e+00
1011010200: 1.2033333333e+00
1011010500: 1.0000000000e+00
1011010800: 2.0166666667e+00
1011011100: 1.3933333333e+00
1011011400: 1.2000000000e+00
1011011700: 1.0000000000e+00
1011012000: 1.3966666667e+00
When I try an generate a graph from this I get:
rrdtool graph brisqck.gif DEF:mybrisqck=brisqck.rrd:brisqck:AVERAGE
0x0
When I ran through the examples in the tutorial everything seemed to run ok and all the example graphs seemed to generate without any problems. I am running RRD on Solaris 8 on a SUN Ultra5.
It could be something really obvious that I have missed, but any help anyone could give me would be greatly appreciated.
Regards
Rob Ford
**********************************************************************
This email and its attachments are intended for the above
named only and may be confidential. If they have come to
you in error, you must take no action based on them, nor
must you copy or show them to anyone; please reply to this
email and highlight the error.
Security Warning: Please note that this email has been
created in the knowledge that the internet email is not a
100% secure communications medium. We advise that you
understand and observe this lack of security when emailing us.
Viruses: Although we have taken steps to ensure that this
email and attachments are free from any virus, we advise
that in keeping with good computing practice the recipient
should ensure they are actually virus free.
If you have received this email in error please notify:
postmaster at pindar.com
**********************************************************************
--
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