hi, I made some progress on this. I replaced 'now' with a time offset in 14all.cgi and I now have current values displayed on the legend and all averages are correctly calculated.
Starting on line 94 I replaced: 'daily' => ['-2000m', 'now', 300], with 'daily' => ['-2000m', '-10m', 300], It seems that in order for this to work I must use the double of the average used by 14all for the graph: 10m for 'Daily'(5mn average), 60m for 'Weekly'(30mn average),... I wonder if this is a problem in w2k/IIS/14all.cgi or w2k/rrdtool. any ideas greatly appreciated. Tx prefab >From: "Prefab" <[EMAIL PROTECTED]> >To: <[email protected]> >Subject: [rrd-users] Current value is zero with 14all.cgi >Date: Mon, 9 Apr 2001 12:23:51 +0200 > >hi, > >I am using mrtg (2.9.10) with rrdtool (1.0.33) and 14all.cgi (1.1p15) on >w2k with IIS. Everything works fine except that the 14all graphics show 0 >for the CURRENT value on the legend and graph. All other values on the >graphs are correct, MAX values are correct on legend and the AVG >calculation is mechanically correct, but includes the last current value as >zero, which gives an incorrect average (if all values are 1s for 48h period >average is 99.826%) > >any ideas greatly appreciated. Tx >prefab > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
