[rrd-users] Re: COMMENT

Kant, D (Dave) D.Kant at rl.ac.uk
Fri Dec 8 15:49:22 MET 2006


Oh easy...forgot to escape the colon!

COMMENT:" Last Build `date +\"%b %d %H\:%M\:%S %Y\"` "


=========================================================
Dr Dave Kant
CCLRC eScience Department                      Phone: (+44)|(0) 1235 778178
Rutherford Appleton Laboratory                Fax:    (+44)|(0) 1235 446626
Chilton, Didcot, Oxon, OX11 0QX, UK         Email:  D.Kant at rl.ac.uk
==========================================================


-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of Kant, D (Dave)
Sent: 08 December 2006 14:45
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] COMMENT


Hi,
 I'm trying to get the date as a Comment on my graphs but cannot get it to work.
 Any suggestions?
 Thanks, Dave


/usr/bin/rrdtool graph $dir/rrd/ExecutingSiteCount_day.png \
--title="Number of CEs" --start "-1day" --width 250 \
DEF:data=$dir/rrd/ExecutingSiteCount.rrd:LcgRecordCount:AVERAGE \
LINE3:data#FF0000:"Distinct Sites:" \
GPRINT:data:MAX:'= %5.0lf entries \n' \
COMMENT:"Last Build `date +\"%b %d %H:%M:%S %Y\"`\n"

However, I get an error

ERROR: Garbage ':42:29 2006\n' after command:
COMMENT:Last Build Dec 08 14:42:29 2006\n



=========================================================
Dr Dave Kant
CCLRC eScience Department                      Phone: (+44)|(0) 1235 778178
Rutherford Appleton Laboratory                Fax:    (+44)|(0) 1235 446626
Chilton, Didcot, Oxon, OX11 0QX, UK         Email:  D.Kant at rl.ac.uk
==========================================================

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

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