[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/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 - Trend Issue
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Trend Issue
http://www.steveshipway.org/forum/viewtopic.php?f=17&t=1601
Page 1 of 1

Author:  SubnetZero [ Tue Jul 22, 2008 2:45 am ]
Post subject:  Trend Issue

I've been trying to setup trending but have ran into a bit of a snag...

routers.cgi V2.18
RRD trending analysis v1.5


I get the error box on top and the log file shows:

Mon Jul 21 08:42:17 2008: Starting trending function
Mon Jul 21 08:42:17 2008: ds0,ds1: 400 rows every 7200 from Wed Jun 18 01:00:00 2008
Mon Jul 21 08:42:17 2008: Delta=0, Deviation=17325.3196249677 : deltadelta=113.954608571206, limit 0.00347761866977558
Mon Jul 21 08:42:17 2008: up->18253.5856731557, down->16697.5074252473
Mon Jul 21 08:42:17 2008: Delta set to -113.954608571206
Mon Jul 21 08:42:17 2008: Delta=0, Deviation=9745.61811889838 : deltadelta=58.1292956843502, limit 0.00177396532239838
Mon Jul 21 08:42:17 2008: up->10311.6085985263, down->9309.17252105354
Mon Jul 21 08:42:17 2008: Delta set to -58.1292956843502
Mon Jul 21 08:42:17 2008: RRDGraph: I don't understand ': 0.95 \l' in command: 'COMMENT:Trending analysis decay factor\\: 0.95 \l'.
Mon Jul 21 08:42:17 2008: Complete


The changes I made to the trend.cgi

diff ~root/download/routers2-v2.18/extensions/trend.cgi /usr/local/httpd/cgi-bin/trend.cgi

< my( $conffile ) = "/u01/etc/routers2.conf"; # overridden by passed parameters
> my( $conffile ) = "/usr/local/httpd/htdocs/routers2.conf"; # overridden by passed parameters

< #my( $consolidation, $conspfx ) = ("MAXIMUM","Max");
> #my( $consolidation, $conspfx ) = ("MAX","Max");

< push @args, "RRA:MAXIMUM:0.5:1:800";
> push @args, "RRA:MAX:0.5:1:800";

< } else { $lmax =":Maximum"; }
> } else { $lmax =":Max"; }

< } else { $lamax =":Hard Maximum"; }
> } else { $lamax =":Hard Max"; }

< $comment = "COMMENT:Maximum value";
> $comment = "COMMENT:Max value";

Author:  SubnetZero [ Tue Jul 22, 2008 2:57 am ]
Post subject:  Re: Trend Issue

Got it working by commenting out the line:

# push @info, "Trending analysis decay factor\\: ".doformat($DECAY,1,0)."\\l";

in trend.cgi..

That appears informational only ?

Author:  stevesh [ Tue Jul 22, 2008 11:33 am ]
Post subject:  Re: Trend Issue

Can you tell me what version of RRDTool you are using? The syntax for the in-graph text changed a bit between versions and sometimes it is not correct.

I've just checked with the latest version here and it doesn't work... I've made corrections and now it should be compatible with all the versions of 1.0.x and 1.2.x, as far as I know. It should also work with 1.3.x but I've not tested with this as yet.

I'll post the fixed version of trend.cgi (now dubbed v2.0) along with routers2 v2.19 shortly once I've fixed the popup right-margin limit under IE with scrolled frames bug. Let me know if this is urgent and I can email you a beta directly.

Author:  SubnetZero [ Wed Jul 23, 2008 2:46 am ]
Post subject:  Re: Trend Issue

rrdtool-1.3.0


Thanks Steve... It's Not Urgent..

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