[rrd-users] Automatic Timestamp in RRD graphs

Karl Fischer rrd-users at ficos.de
Thu Nov 27 11:21:22 CET 2008


Martin Knoblauch wrote:
>  I think my reply/question did not hit the list ...

It did ...

I had similar problems with \r not working and what I found out
is that it only seems to work if it is NOT the very last line.
So if you follow your \r with \n, it will be right-aligned even
though this might not be what you want ...

hth

- Karl


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



More information about the rrd-users mailing list