[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/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 - routers2.cgi v 2.14 and 2.15beta2 specify last as 0
Cheshire Cat Computing
http://www.steveshipway.org/forum/

routers2.cgi v 2.14 and 2.15beta2 specify last as 0
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=355
Page 1 of 1

Author:  tomf87 [ Sat Aug 28, 2004 6:32 am ]
Post subject:  routers2.cgi v 2.14 and 2.15beta2 specify last as 0

I have tried both v2.14 and 2.15beta2 and both act the same way.

I have split up my MRTG configurations into multiple files.

Under one of the configurations, I'm monitoring my router's interfaces. Then I have one special MRTG directive to sum up all of these statistics so I can get an idea for total throughput through the router.

Under another configuration, I'm running a perl script against SpamAssassin to monitor it.

What is interesting is that some of the graphs seem to plot while others don't. The total throughput for my router and the SpamAssassin work. However, all other graphs are flat-lined. The Last field shows 0.00 and the Cur in the graph shows 0.00.

Now, I thought MRTG was somehow not functioning. Running from the command revealed nothing.

I installed mrtg-rrd.cgi and the plots for it are working just fine, so it seems to be in routers2.cgi. I have hunted for the lowdown on this and can't seem to find it. Anyone else have any ideas?

Author:  tomf87 [ Sat Aug 28, 2004 6:47 am ]
Post subject: 

Okay now everything went to 0. However, I found that only the Summary view does this. If I do a compact summary, it shows data. Also if I click on a certain interface, it graphs fine, but the current in/out is 0.

Author:  tomf87 [ Sat Aug 28, 2004 6:52 am ]
Post subject: 


Author:  stevesh [ Sun Aug 29, 2004 8:13 pm ]
Post subject: 

This is an effect of the unknaszero option.

Sometimes, if your graph generation is sufficiently out of synch with the data collection, then the graph generation falls into the next sample window of the RRD. This means that it returns an 'unknown' for the last value (since no data has yet been collected for this window).

routers.cgi has a workaround for this, since it usually only affects the userdefined graphs, but if you have unknaszero then unknown is already set to 0 and so you get this effect. I'm not sure how mrtg-rrd avoids its -- I suspect it doesn't, but that you just asked it to generate the graphs in the same time window as the data collection and therefore avoided the issue. With touters.cgi, due to its caching and expiry, once you get out of the window it's hard to get back in again :)

I'll look more into finding a more reliable workaround for this -- maybe using the lastupdate time as the base if it is more recent than the update interval... (you can set 'uselastupdate = yes' in the routers2.conf to have this affect, also)

Steve

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