[rrd-users] escaping colons in rrdcgi (RRD::TIME::)
nate
rrdtool at aphroland.org
Mon Mar 13 21:54:19 MET 2006
Hey folks
I've been using RRD 1.0.42 for a couple years now and now started
using 1.2, and am wondering how I might go about escaping colons
in rrdcgi with RRD::TIME::LAST and RRD::TIME::NOW (using %c),
inside a comment.
sample:
<RRD::GRAPH graphics/server_MemoryUsage_<RRD::CV XAXIS>x<RRD::CV
YAXIS>_STEP_<RRD::CV STEP>_<RRD::CV TIME_PERIOD>.gif --title="server Memory
Utilization" -w <RRD::CV XAXIS> -h <RRD::CV YAXIS> -v "Megabytes" --imginfo
'<IMG SRC=graphics/%s>' --start 'end-<RRD::CV TIME_PERIOD>' --step <RRD::CV
STEP> -r -l 0
DEF:testing=filename.rrd:mem_buffers:AVERAGE
CDEF:free="testing,1024,/"
AREA:free#FF0000:"description"
COMMENT:"min/avg/max/last="
GPRINT:"free:MIN:%0.2lf\g" COMMENT:" MB / "
GPRINT:"free:MAX:%0.2lf\g" COMMENT:" MB / "
GPRINT:"free:LAST:%0.2lf\g" COMMENT:" MB\n"
CDEF:nodata1="free,UN,INF,UNKN,IF"
AREA:nodata1#000000:"Missing Data\n"
COMMENT:"Data Updated <RRD::TIME::LAST filename.rrd %c> \n"
COMMENT:"Generated: <RRD::TIME::NOW %c>">
thanks
nate
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list