[rrd-users] Re: how do I do calculations to STDOUT?
Jason Frisvold
Jason.Frisvold at corp.ptd.net
Mon May 20 20:41:09 MEST 2002
I think what you want to do here is use rrdtool fetch to dump the data
to STDOUT...
---------------------------
Jason H. Frisvold
Senior ATM Engineer
Engineering Dept.
Penteledata
CCNA Certified - CSCO10151622
friz at corp.ptd.net
---------------------------
"Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world." -- Albert Einstein [1879-1955]
-----Original Message-----
From: John Giordano [mailto:isaac at netos.com]
Sent: Monday, May 20, 2002 2:22 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] how do I do calculations to STDOUT?
Hello,
Just for everyone's edification- I have read and re-read the docs and
also looked all over the web but I can't seem to find my answer.
Basically, all I want to do is pull monthly bandwidth calculations from
a .rrd in plain text so I can stuff them into a database.
What I can do now is this:
./rrdtool graph foo.png --start -1m --imgformat PNG --title="Monthly
UU.Net" --vertical-label "KiloBytes per Second"
DEF:inoctets=myrouter.rrd:ds0:AVERAGE
DEF:outoctets=myrouter.rrd:ds1:AVERAGE AREA:inoctets#00FF00:"In traffic"
LINE1:outoctets#0000FF:"Out traffic"
but I can't seem to figure out what the command syntax is to dump this
to STDOUT.
I read the doc on rrdgraph but I couldn't seem to figure out how I can
make this simply go to STDOUT so I can use it in a custom Perl script I
want to write.
Any insight would be greatly appreciated.
Thanks,
jg
--
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