[rrd-users] Re: Monthly graph
JaromírMikulík
mikulik at centrum.cz
Thu Nov 4 17:18:44 MET 2004
The command is here:
$exec = '
c:/RRDtool/rrdtool.exe graph d:/monitor/web/gif/'.$filenamePicture.'.gif
--title "Trafic of '.$name.' interface | '.$title.'"
--start -1m
--vertical-label "bits per second"
--base 1024
--unit bps
--width 800
--height 200
--lower-limit 0
DEF:in=../rrd/'.$filename.'.rrd:in:AVERAGE
DEF:out=./../rrd/'.$filename.'.rrd:out:AVERAGE
CDEF:in3=in,8,*
CDEF:out3=out,8,*
COMMENT:\n
AREA:in3#8AB2FC:"downstream trafic" COMMENT:" " LINE1:out3#0004AB:"upstream trafic "\c
COMMENT:\n
GPRINT:in3:AVERAGE:"Average\: "%6.2lf" "%S"bps\g" COMMENT:" " GPRINT:out3:AVERAGE:"Average\: "%6.2lf" "%S"bps"\c
GPRINT:in3:MIN:"Minimum\: "%6.2lf" "%S"bps\g" COMMENT:" " GPRINT:out3:MIN:"Minimum\: "%6.2lf" "%S"bps"\c
GPRINT:in3:MAX:"Maximum\: "%6.2lf" "%S"bps\g" COMMENT:" " GPRINT:out3:MAX:"Maximum\: "%6.2lf" "%S"bps"\c
GPRINT:in3:LAST:"Current\: "%6.2lf" "%S"bps\g" COMMENT:" " GPRINT:out3:LAST:"Current\: "%6.2lf" "%S"bps"\c
';
It is a part of the PHP4 script which creates monthly graph.
JaMi
______________________________________________________________
> Od: Serge Maandag <serge.maandag at staff.zeelandnet.nl>
> Komu: "mikulik at centrum.cz" <mikulik at centrum.cz>, "rrd-users at list.ee.ethz.ch" <rrd-users at list.ee.ethz.ch>
> Datum: Thu, 4 Nov 2004 10:45:28 +0100
> Předmět: [rrd-users] Re: Monthly graph
>
> > It si steped at 300seconds.
> > On this URL: http://numeri.cz/wan.zip is dump of my rrdfile.
> >
>
> Could you paste the command you use to generate the graph?
>
> Serge.
>
> -------------
> Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php
>
> --
> 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