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

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Sep 23 23:48:17 MEST 1999


Not sure about the last update time and the last counter value.

The following is simple:

> I'm looking to emulate the 
> 
....
> 
> and 
> 
>  "Max In: 1107.3 kb/s   Average In: 213.8 kb/s   Current In: 505.6 kb/s"
> 
> output on standard MRTG web pages.

        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.

Regards,
Alex

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