[rrd-users] Re: Yearly / hourly / weekly and hourly graphing with RRDtool

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Sep 26 14:05:05 MEST 2002


You need to set the starting point of the graph. 
I simply use:

rrdtool graph -s "-1d" .............
rrdtool graph -s "-1w" .............
rrdtool graph -s "-1m" .............
rrdtool graph -s "-1y" .............


Serge Maandag.

-----Original Message-----
From: Shyam [mailto:shyam at infonox.com] 
Sent: Thursday, September 26, 2002 8:56 AM
To: RRD Users
Subject: [rrd-users] Yearly / hourly / weekly and hourly graphing with
RRDtool


Hi,

I am monitoring my Cisco router on a 60 secs interval using RRDTool on
Win2K Prof. 

My RRDCreate command is as follows :- 

rrdtool create cisco.rrd -s60 /
                      DS:inOctets:COUNTER:600:U:U /
                      DS:in_unicast:COUNTER:600:U:U  /
                      RRA:AVERAGE:0.5:1:600 /
                      RRA:AVERAGE:0.5:6:700 /
                      RRA:AVERAGE:0.5:24:775 /
                      RRA:AVERAGE:0.5:288:797 /
                      RRA:MAX:0.5:1:600 /
                      RRA:MAX:0.5:6:700 /
                      RRA:MAX:0.5:24:775 /
                      RRA:MAX:0.5:288:797

I am trying to be compatible with MRTG data storage format so that I get
the yearly / monthly / weekly and hourly graphs in my web-page. ( Pls.
ignore the updation interval which is at present 60 secs.. I shall be
changing it to default 300 secs once my testing is finished )

My question is, how do I use RRDtool to graph the yearly / monthly /
weekly and hourly usage just like MRTG does ? When I use the RRDGraph
command, I get only one gif which gives me a daily usage. My graph
command is as follows :-

rrdtool graph cisco.gif --vertical-label "Network Data" --title "Network
Traffic through Cisco Router" --width 600 --height 250 /
DEF:inOctets_val=cisco.rrd:inOctets:AVERAGE
LINE2:inOctets_val#0000FF:"inOctets" /
 
DEF:in_unicast_val=cisco.rrd:in_unicast:AVERAGE
LINE2:in_unicast_val#00FF00:"in_unicast"

Your help would be greatly appreciated.

Regards, 
Shyam


--
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