[rrd-users] Re: Problem with comment in RRDtool 1.2

Dave Lugo dlugo at etherboy.com
Fri Dec 30 15:56:11 MET 2005


On Fri, 30 Dec 2005, Serge Maandag wrote:
>
> > Is there a easy and good way the create the date and time as
> > comment in 1.2?? I have used to search but did't find anything.
>
> Try:
>
> $time = localtime(time);
> $time =~ s/:/\\:/g;
> "COMMENT:Generated on\: $time\\r";
>


This was what was suggested to me when I had the same issue:

  COMMENT:"   data last updated\: <RRD::TIME::LAST /path/to/rrd '%a %b %d %k\:%M\:%S %Y'>"

-- 
--------------------------------------------------------
Dave Lugo   dlugo at etherboy.com    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.

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