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 [EMAIL PROTECTED] --------------------------- "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." -- Albert Einstein [1879-1955] -----Original Message----- From: John Giordano [mailto:[EMAIL PROTECTED] Sent: Monday, May 20, 2002 2:22 PM To: [email protected] 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
