| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| trend.cgi http://steveshipway.org/forum/viewtopic.php?f=2&t=260 |
Page 1 of 1 |
| Author: | joyeux666 [ Thu Jun 10, 2004 2:13 am ] |
| Post subject: | trend.cgi |
| Author: | stevesh [ Thu Jun 10, 2004 11:38 am ] |
| Post subject: | |
| Author: | joyeux666 [ Thu Jun 10, 2004 9:04 pm ] |
| Post subject: | |
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 |
|
| Author: | stevesh [ Thu Jun 10, 2004 9:28 pm ] |
| Post subject: | |
| Author: | joyeux666 [ Mon Jun 14, 2004 10:26 pm ] |
| Post subject: | |
Thx steve. I resolve this problem. I didn't read attentively the FAQ thx David |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|