Hi Sebastian

This page has some good examples

http://hints.jeb.be/category/rrdtool/

In short I don't think you can mix none strftime variables and strftime 
variables so in your example

GPRINT:tmax:"max %0.2lf":"%H"

would need to be (using Perl)

GPRINT:tmax:%H:strftime

Putting %0.2lf would result in "%0.2lf" being printed literally.

Thanks

Richard
________________________________________
From: [email protected] 
[[email protected]] on behalf of 
Sebastian John [[email protected]]
Sent: 21 February 2012 15:35
To: [email protected]
Subject: [rrd-users] Unable to print date to the graph



My graph definition (snipped)

..
VDEF:tmax=tmp,MAXIMUM
..
GPRINT:tmax:"max %0.2lf":"%H"
..

I get: ERROR: I don't understand ':%H' in command: 'GPRINT:tmax:max
%0.2lf:%H'.



_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to