[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Is it possible to fill UNKNOWN data gap with AVERAGE?
Cheshire Cat Computing
http://mail.steveshipway.org/forum/

Is it possible to fill UNKNOWN data gap with AVERAGE?
http://mail.steveshipway.org/forum/viewtopic.php?f=2&t=302
Page 1 of 2

Author:  said [ Fri Jul 16, 2004 8:29 am ]
Post subject:  Is it possible to fill UNKNOWN data gap with AVERAGE?

Hey, Steve,and all the honoured members here :)

I have this total newbee question:

Can I fill that Unknown data (gray bar) gap with the AVERAGE, just like MRTG does ..
I known it wrecks my average, but nevertheless ..

Thanks in advance

Author:  stevesh [ Fri Jul 16, 2004 10:00 am ]
Post subject: 

MRTG doesn't actually fill with the average, it fills with the last known value (or with 0 if you have unknaszero set).

Currently, routers.cgi doesnt do this. The main reason for this is that, when I first wrote it, the people at my place of work all would rather have had grey to show 'not known' than for it to make a potentially misleading guess. It also showed host uptime in the case of servers.

Is this a feature that anyone else is interested in having? It would not be all that difficult to implement, I think -- in fact, a slightly similar procedure is used to prevent last=0 on userdefined graphs using PREV().

Steve

Author:  said [ Fri Jul 16, 2004 12:55 pm ]
Post subject:  Highly requested feature indeed

Hej Steve


I think this will give my <i>Routers2.cgi</i> the last finishing touch .. if succeed, indeed

But That <b>Prev()</b> function .. is it to be set in the CGI, or in my config?
I would apriciate, if you could give som details about that implementation..

May be its SO trivial to you ,Steve..
But please bear with Not-so-RDDTool-savvy me :D

Author:  sneader [ Fri Dec 15, 2006 12:33 pm ]
Post subject:  unknasprev


Author:  stevesh [ Fri Dec 15, 2006 12:36 pm ]
Post subject: 

And now, an update!

If you have the LATEST (2.17) version of routers2, you can use the new 'unknasprev' option. This will fill UNKNOWN with the PREVIOUS value - in the same way that native MRTG does. You can also still use the unknaszero option (to fill with zero) or use the routers2 default (fill with greyout).

Note that filling with previous or zero will affect the averages.

The new unknasprev option:

routers.cgi*Options[target]: unknasprev

Steve

Author:  sneader [ Fri Dec 15, 2006 12:50 pm ]
Post subject:  Thanks !!!

Wow, what took you so long? 3 minutes to respond... yeesh! :P

Thanks Steve!! Time to upgrade.

- Scott

Author:  stevesh [ Fri Dec 15, 2006 12:59 pm ]
Post subject: 

I just happened to be here...

Anyway, shows that things people ask for here really *do* make it onto the wishlist, and get added to the product.

Now, I wonder if this 'said' guy is still around, and if he'll get me something from my amazon wishlist now? :)

Author:  sneader [ Tue Dec 04, 2007 12:57 pm ]
Post subject: 


Author:  stevesh [ Wed Dec 05, 2007 6:11 pm ]
Post subject: 

This is where the default and prepend/append targets come in useful.

routers.cgi*Options[$]: unknasprev

will add the unknasprev option to the end of the options list for all targets. Note that if you use the default target '_' then this can be replaced by any options explicitly defined for a given target.

Author:  sneader [ Thu Dec 06, 2007 6:38 am ]
Post subject: 

Hi Steve. Thanks for the help! Can you spell it out for me a little more? What file are you adding this into?

I put it toward the top of every .cfg file I have, to get the job done (and it is working great) but I am still curious if I could have done this differently?

- Scott

Page 1 of 2 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/