[rrd-users] Re: Question about VRULE

David Gabler dgabler at TRUELINK.com
Fri Mar 15 17:10:12 MET 2002


One way

$time = `date -d "today 00:00" +%s`;
add to your graph "VRULE:$date......"

Now this only works if you are looking at the graphs for that day  you need
more logic when you are doing time shifting/viewing multiple
days/weeks/months/years at a time.

David

> -----Original Message-----
> From: Danny Bendersky [mailto:danny at team.inter.net]
> Sent: Friday, March 15, 2002 7:47 AM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] Question about VRULE
> 
> 
> Hi, I want to try the VRULE option to graph a line at 
> midnight as MRTG does,
> can some one give me an example in how I can do that?
> 
> Thanks!
> 
> 
> Saludos....
> 
> Daniel Bendersky.
> 
> ------------------------------------------------------------------
> Danny Bendersky                          Technical Director for LA
> danny at team.inter.net                          http://www.inter.net
> Inter.Net                              Av. Vitacura # 2939 of. 202
> Office   : (562) 751-2600             Las Condes, Santiago - CHILE
> Cellular : (569) 539-6147                     Fax : (562) 751-2611
>            "Success is a journey, not a destination"
> ------------------------------------------------------------------
> 
> 
> 
> --
> 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