[rrd-users] Re: getting a date into the comment section in rrdcgi

Nate Campi nate at wired.com
Thu Jul 6 21:59:21 MEST 2000


On Thu, 6 Jul 2000, Nate Campi wrote:
> 
> I'm trying to get the date at the time of graph generation into the
> "comment" field of a graph produced by rrdcgi.
> 
> In Bourne shell scripts I do this by a simple:
> DATE=`date`
> ...then use it in the comment field like this:
> COMMENT:"\s" COMMENT:"$DATE\r"

Forget it, I didn't look at the man page close enough.

This works:
COMMENT:"\s" COMMENT:"<RRD::TIME::NOW %D>\r"

-- 
Nate Campi
Operations
Lycos/WiReD Digital


--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list