[rrd-users] Automatic Timestamp in RRD graphs
tobi at oetiker.ch
Thu Nov 27 11:40:11 CET 2008
Today Martin Knoblauch wrote:
> I think my reply/question did not hit the list ...
> ----- 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'"
> "$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.
this does generally work well, make sure though,
a) that \r actually reaches rrdtool and does not get eaten by some
b) try with a more recent version of rrdtool ... not sure about the
exact bug/feature set of 1.2.15.
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users