[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/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 - trend.cgi

Cheshire Cat Computing

Software support and information
It is currently Sun Sep 27, 2020 12:11 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: trend.cgi
PostPosted: Thu Jun 10, 2004 2:13 am 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Jun 10, 2004 11:38 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Jun 10, 2004 9:04 pm 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE
I tested with a simple Cfgfile with only 3 interfaces :

------------------------------------
##Global Config Options
Workdir: /home/Supervision/Serveur/Rrd

routers.cgi*Icon: switch2-sm.gif
routers.cgi*Extension: "Fichier .cfg" /cgi-bin/showcfg.cgi list-sm.gif
routers.cgi*Extension: "Trend Analysis" /cgi-bin/trend.cgi graph-sm.gif

##Global Defaults
LogFormat: rrdtool
Options[_]: growright, bits
RunAsDaemon: Yes
Interval: 1
PathAdd: /usr/local/rrdtool-1.0.48/bin
LibAdd: /usr/local/rrdtool-1.0.48/lib/perl/
EnableIPv6: no

###Interface 1
Target[SSR_1]: 1:community@w.x.y.z:
SetEnv[SSR1_1]: MRTG_INT_IP="w.x.y.z" MRTG_INT_DESCR="et1"
MaxBytes[SSR1_1]: 12500000
Title[SSR1_1]: Traffic Ananlysis for 1 -- ssr1
PageTop[SSR1_1]: <H1>Traffic Ananlysis for 1 -- ssr1</H1>

###Interface 2
Target[SSR_2]: 2:community@w.x.y.z:
SetEnv[SSR1_2]: MRTG_INT_IP="" MRTG_INT_DESCR="et2"
MaxBytes[SSR1_2]: 12500000
Title[SSR1_2]: Traffic Ananlysis for 2 -- ssr1
PageTop[SSR1_2]: <H1>Traffic Ananlysis for 2 -- ssr1</H1>

###Interface 4
Target[SSR_4]: 4:community@w.x.y.z:
SetEnv[SSR1_4]: MRTG_INT_IP="w.x.y.z" MRTG_INT_DESCR="et4"
MaxBytes[SSR1_4]: 12500000
Title[SSR1_4]: Traffic Ananlysis for 4 -- ssr1
PageTop[SSR1_4]: <H1>Traffic Ananlysis for 4 -- ssr1</H1>
--------------------------------

my file is ssr1_1.rrd, ssr1_2.rrd and ssr1_4.rrd.

The error is in my cfgfile??

In spite of the error, i would test the script.
Therefore, I tested to place in trend.cgi, directly, one file in parameter :

my ( $interface ) = '/home/Supervision/serveur/Rrd/ssr1_1.rrd" ;

and $interfaes{target}{rrd} became $interface.

in trend.log I've
ds0,ds1: 401 rows.....
Weighted average for 0 is : 114....
Delta=0, Deviation=0 : deltadelta=1148.99..., limit 0.035......
up->1148.99..., down->1148.99..
...
...
Delta set to 0
RRDGraph: invalid rpn expression 'in,,*'
Complete

same with a file in parameter, return to me an error...
What's rpn expression ??


PS: I have routers v2.13a, rrdtool v1.0.48 ans i test with version < 1.0.33 but nothing more.

Thx for your help.

David


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Jun 10, 2004 9:28 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Jun 14, 2004 10:26 pm 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE
Thx steve. I resolve this problem.

I didn't read attentively the FAQ :?

thx

David


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

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 41 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group