[rrd-users] Re: printing last update and last values in web pages via rrdcgi?

Tobias Oetiker oetiker at ee.ethz.ch
Fri Oct 1 18:54:44 MEST 1999


Today you sent me mail regarding Re: [rrd-users] Re: printing last update...:

*>  > From: Tobias Oetiker
*>  > <RRD::PRINT 0> as explained in the documentation you should get the correct
*>  > result ... again, improvements to the docs are more than welcome ...
*> 
*> Cool.
*> 
*> But what about emulating the MRTG
*> 
*>  "The statistics were last updated Friday, 1 October 1999 at 11:36"
*> 
*> output via rrdcgi?
*> 
*> I can't envision getting at this via "<RRD::GRAPH>".  And even if
*> that's possible, I'd have to put the "last updated" text *after*
*> a (at least one) graph which I don't want to do.
*> 
*> So do I need to whip up "<RRD::LAST>" for rrdcgi?

I would sugest something like

<RRD::STRFTIME 'Format' 'At-style time spec'> 

if there is no timespec it could assume now

cheers
tobi

*> later
*> steve
*> - - -
*> systems guy
*> wiscnet.net
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list