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

steve rader rader at teak.wiscnet.net
Tue Sep 28 20:27:52 MEST 1999


 > From: Alex van den Bogaerdt
 > >         AREA:line1#008000:"whatever it is  "
 > >         GPRINT:line1:MAX:"%10.2lf"
 > >         GPRINT:line1:MIN:"%10.2lf"
 > >         GPRINT:line1:AVERAGE:"%10.2lf"
 > >         GPRINT:line1:LAST:"%10.2lf\\n"
 > >         STACK:line4#C0C000:"and something else  "
 > >         GPRINT:line4:MAX:"%10.2lf"
 > >         GPRINT:line4:MIN:"%10.2lf"
 > >         GPRINT:line4:AVERAGE:"%10.2lf"
 > >         GPRINT:line4:LAST:"%10.2lf\\n"
 > > 
 > > Modify and align.
 > > 
 > Duh, forgot about the kb/s stuff:
 > 
 > GPRINT....MAX:"%10.2lf %sb/s"
 > GPRINT....MIN:"%10.2lf %Sb/s"
 > GPRINT....AVERAGE:"%10.2lf %Sb/s"
 > GPRINT....LAST:"%10.2lf %Sb/s"
 > 
 > %s will scale to blank/k/m/g/whatever. %S will use the same scale.

Well, that's cool but not what I want.  

Like Bryce as root <root at zen.ics.uwe.ac.uk> asked the other day,
can rrdcgi to generate *HTML* like the following?  If so, how?

 The statistics were last updated <B>Tuesday, 28 Sep 1999 at 13:25</B>
 [...]
 <TD ALIGN=right>
   <SMALL>Average<FONT COLOR=#00cc00>&nbsp;In:</FONT></SMALL>
 </TD>
 <TD ALIGN=right>
   <SMALL>1012.1 kbits/s</SMALL>
 </TD>

later
steve
- - -
systems guy
wiscnet.net

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