[rrd-users] how to only gprint the timestamp
Shaun Reitan
mailinglists at unix-scripts.com
Mon Nov 8 20:58:30 CET 2010
I was attempting to use gprint with :strftime to print the date on my
graph. The goal is to print the date/time of the last (current) record
so that the user saves the graph they know the date range it's for. It
looks like gprint will throw an error if you try to only print the date
and not the data that was associated with the VDEF. I want a date/time
printed in the bottom right corner..
VDEF:ds0last=ds0,LAST
I tried...
GPRINT:ds0last:strftime %y\r
GPRINT:ds0last:%y\r:strftime
Any ideas?
--
Shaun Retian
Chief Technical Officer
Network Data Center Host, Inc.
http://www.ndchost.com
More information about the rrd-users
mailing list