[rrd-users] Automatic Timestamp in RRD graphs

Martin Knoblauch spamtrap at knobisoft.de
Wed Nov 26 17:45:07 CET 2008


----- Original Message ----

> From: Erik de Mare <erik at oezie.org>
> To: Martin Knoblauch <spamtrap at knobisoft.de>
> Cc: rrd-users rrd-tool <rrd-users at lists.oetiker.ch>
> Sent: Wednesday, November 26, 2008 2:57:35 PM
> Subject: Re: [rrd-users] Automatic Timestamp in RRD graphs
> 
> 
> add something like COMMENT:`date`
> 

 OK, while this does not necessary satisfy my laziness, it seems to work kind of. So I add the following to my legend:

" COMMENT:'\s' COMMENT:'\s' COMMENT:'$datestring'"

where "$datestring" has my desired timestamp. All is good so far, but the string is left aligned. I would like to have it on the right lower corner of my graph? I read about "\r", but it does not work.

Any ideas? rrdtool is version 1.2.15.

Cheers
Martin

> On Wed, 26 Nov 2008 05:16:45 -0800 (PST), Martin Knoblauch
> wrote:
> > Hi,
> > 
> >  is there an rrdtool option to add a time stamp to the RRD graphs? That
> > would be good for docimantation purposes. One can of course add them
> > manually, but I am lazy :-)
> > 
> > Cheers
> > Martin
> > ------------------------------------------------------
> > Martin Knoblauch
> > email: k n o b i AT knobisoft DOT de
> > www:  http://www.knobisoft.de 
> > 
> > _______________________________________________
> > rrd-users mailing list
> > rrd-users at lists.oetiker.ch
> > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



More information about the rrd-users mailing list