[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

Software support and information
It is currently Tue Nov 11, 2025 3:42 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Trend Issue
PostPosted: Tue Jul 22, 2008 2:45 am 
Offline
User

Joined: Tue Jul 22, 2008 2:24 am
Posts: 4
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";


Top
 Profile Send private message  
 
 Post subject: Re: Trend Issue
PostPosted: Tue Jul 22, 2008 2:57 am 
Offline
User

Joined: Tue Jul 22, 2008 2:24 am
Posts: 4
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 ?


Top
 Profile Send private message  
 
 Post subject: Re: Trend Issue
PostPosted: Tue Jul 22, 2008 11:33 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
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.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject: Re: Trend Issue
PostPosted: Wed Jul 23, 2008 2:46 am 
Offline
User

Joined: Tue Jul 22, 2008 2:24 am
Posts: 4
rrdtool-1.3.0


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


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group