Hi Jason,

Downgrade to rrdtool 1.0.x, jffnms has not been tested with the 1.2.x branch 
yet.

Javier

Jason Stafford wrote:
> Ok, I finally tracked it down to this:
>  
> 
> /usr/local/rrdtool-1.2.2/bin/rrdtool graph 
> '/opt/jffnms/engine/temp/428294f06f55c.dat' --imgformat=PNG --start=-86400 
> --end=-420 --base=1000 --lower-limit=1 --title='ld1.nsphere.com NewZone eth0 
> nsphere                          2005-05-11 19:25:02' --alt-autoscale-max 
> --color=GRID#CCCCCC --color=MGRID#777777 --height=150 --width=500 
> --vertical-label='Bits per Second' 
> DEF:input=/opt/jffnms/rrd/interface-51-0.rrd:data:AVERAGE 
> DEF:output=/opt/jffnms/rrd/interface-51-1.rrd:data:AVERAGE 
> CDEF:inputbits=input,UN,input,input,IF,8,* 
> CDEF:outputbits=output,UN,output,output,IF,8,* HRULE:100000000#FF0000:' ' 
> COMMENT:'Inbound Bandwidth: 100000 kbps' HRULE:100000000#AA0000:' ' 
> COMMENT:'Outbound Bandwidth:100000 kbps  IP: 66.118.136.66\n' 
> AREA:inputbits#00CC00:'Inbound ' GPRINT:inputbits:MAX:'Max\:%8.2lf %sbps' 
> GPRINT:inputbits:AVERAGE:'Average\:%8.2lf %sbps' 
> GPRINT:inputbits:LAST:'Last\:%8.2lf %sbps\n' LINE2:outputbits#0000FF:Outbound 
> GPRINT:outputbits:MAX:'Max\:%8.2lf %sbps' GPRINT:outp
utbits:AVERAGE:'Average\:%8.2lf %sbps' GPRINT:outputbits:LAST:'Last\:%8.2lf 
%sbps\n' 
> 
> Array
> (
>     [0] => ERROR: Garbage ': 100000 kbps' after command:
>     [1] => COMMENT:Inbound Bandwidth: 100000 kbps
> )
> 
> 1
> 
> Looks like for some reason there are colons inside the comment and the 
> rrdtool dosn't like them very much, and they arn't escaped.
> 
> I was doing some work earlier with rrd and mrtg and had the same type of 
> problem from another nms like system for lvs.
> 
> I wonder if someone update the parser for rrd and handled colons inside of 
> comment differntly from pervious versions?
> 
>  
> 
> Anyhelp on how to fix this would be great,
> 
>  
> 
> Thanks
> 
> jason
> 
>  
> 
>  
> 
>  ----- Original Message ----- 
> 
>     *From:* Jason Stafford <mailto:[EMAIL PROTECTED]>
>     *To:* [email protected]
>     <mailto:[email protected]>
>     *Sent:* Wednesday, May 11, 2005 9:29 AM
>     *Subject:* [jffnms-users] Traffic Graphs
> 
>     Hi,
>      
>     I can display all graphs for every interface, except for traffic and
>     rtt&packet loss on physical interfaces.
>     It appears that the $ret1 in view_performance is not getting set and
>     i get the following error message.
>      
>     The RRDTool files for Interface ID 29 (from Host ID 5), has not been
>     created by the Poller Process yet
>      
>     but i have the following files in /opt/jffnms/rrd
>      
>     ls | grep interface-29
>     interface-29-0.rrd
>     interface-29-10.rrd
>     interface-29-11.rrd
>     interface-29-1.rrd
>     interface-29-2.rrd
>     interface-29-3.rrd
>     interface-29-4.rrd
>     interface-29-5.rrd
>     interface-29-6.rrd
>     interface-29-7.rrd
>     interface-29-8.rrd
>     interface-29-9.rrd
>      
>     Doesn't this mean the poller process created the files?
> 
>     permissions on /opt/jffnms
>     > drwxrwx---   10 jffnms   jffnms       4096 Mar  7 14:14 jffnms
>     >
>     > ls -la /opt/jffnms
>     > total 164
>     > drwxrwx---   10 jffnms   jffnms       4096 Mar  7 14:14 .
>     > drwxr-xr-x    3 root     root         4096 May  7 20:56 ..
>     > -rw-rw----    1 jffnms   jffnms        466 Mar  7 14:14 BUGS
>     > -rw-rw-r--    1 jffnms   jffnms      65675 Mar  7 14:14 Changelog
>     > drwxrwx---    2 jffnms   jffnms       4096 May  8 11:13 conf
>     > drwxrwx---    6 jffnms   jffnms       4096 Mar  7 14:14 docs
>     > drwxrwx---   17 jffnms   jffnms       4096 Mar  7 14:14 engine
>     > drwxrwx---    6 jffnms   jffnms       4096 Mar  7 14:14 htdocs
>     > -rw-rw----    1 jffnms   jffnms       6803 Mar  7 14:14 INSTALL
>     > -rw-rw----    1 jffnms   jffnms       6321 Mar  7 14:14
>     INSTALL.win32.txt
>     > drwxrwx---    2 jffnms   jffnms       4096 Mar  7 14:14 lib
>     > -rw-rw----    1 jffnms   jffnms      15141 Mar  7 14:14 LICENSE
>     > drwxrwxr-x    2 jffnms   jffnms       4096 May  8 00:00 logs
>     > drwxrwxrwx    2 jffnms   jffnms       8192 May  8 17:25 rrd
>     > drwxrwxr-x    2 jffnms   jffnms       4096 Mar  7 14:14 tftpd
>     > -rw-rw----    1 jffnms   jffnms       2911 Mar  7 14:14 TODO
>     > -rw-rw----    1 jffnms   jffnms       1951 Mar  7 14:14 UPGRADE
>     > -rw-rw----    1 jffnms   jffnms       2137 Mar  7 14:14
>     UPGRADE.win32.txt
>      
>      php -m
>     [PHP Modules]
>     ctype
>     gd
>     mysql
>     overload
>     pcre
>     posix
>     session
>     snmp
>     sockets
>     standard
>     tokenizer
>     xml
>      
>     Poller outfor the interface
>     #################################################
>     php poller.php 5 29 0 0 0
>     Content-type: text/html
>     X-Powered-By: PHP/4.3.10
>      
>     17:46:06  :  H   5 : Poller Start : 19 Items.
>     17:46:06  :  H   5 :  I  29 :  P  10 : verify_interface_number(): 2
>     -> verify_interface_number(): interfacenumber not change\
>     d (time P:2.76 | 1.49)
>     17:46:06  :  H   5 :  I  29 :  P  15 :
>     cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 1
>     (time P:1.26 | 0.18)\
>      
>     17:46:06  :  H   5 :  I  29 :  P  16 : interface_oper_status(8): up
>     -> alarm(3,,180): Nothing was done (time P:3.19 | 5.83)
>     17:46:06  :  H   5 :  I  29 :  P  17 : interface_admin_status(7): up
>     -> db(show_rootmap,down=2|up=1,0): 0 (time P:1.82 | 0.2\
>     7)
>     17:46:06  :  H   5 :  I  29 :  P  20 :
>     snmp_counter:input(.1.3..6.2): 693298869 -> buffer(): 2 (time P:1.69
>     | 0.1)
>     17:46:06  :  H   5 :  I  29 :  P  25 :
>     snmp_counter:inpackets(.1.3..7.2): 882162407 -> buffer(): 3 (time
>     P:1.59 | 0.09)
>     17:46:06  :  H   5 :  I  29 :  P  30 :
>     snmp_counter:output(.1.3..0.2): 3024113218 -> buffer(): 4 (time
>     P:1.53 | 0.09)
>     17:46:06  :  H   5 :  I  29 :  P  35 :
>     snmp_counter:outpackets(.1.3..1.2): 989879160 -> buffer(): 5 (time
>     P:1.51 | 0.09)
>     17:46:06  :  H   5 :  I  29 :  P  40 :
>     snmp_counter:outputerrors(.1.3..0.2): 0 -> buffer(): 6 (time P:1.71
>     | 0.15)
>     17:46:06  :  H   5 :  I  29 :  P  45 :
>     snmp_counter:inputerrors(.1.3..4.2): 0 -> buffer(): 7 (time P:1.66 |
>     0.1)
>     17:46:06  :  H   5 :  I  29 :  P  46 :
>     snmp_counter:drops(.1.3..9.2): 0 -> buffer(): 8 (time P:1.56 | 0.09)
>     17:46:06  :  H   5 :  I  29 :  P  47 : db:bandwidthin(band..tes):
>     12500000 -> buffer(): 9 (time P:0.15 | 0.09)
>     17:46:06  :  H   5 :  I  29 :  P  48 : db:bandwidthout(band..tes):
>     12500000 -> buffer(): 10 (time P:0.06 | 0.08)
>     17:46:06  :  H   5 :  I  29 :  P  50 : cisco_snmp_ping_wait(): -1 ->
>     no_backend(): 0 (time P:0.25 | 0.08)
>     17:46:06  :  H   5 :  I  29 :  P  55 :
>     cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 11 (time P:0.18
>     | 0.08)
>     17:46:06  :  H   5 :  I  29 :  P  60 :
>     cisco_snmp_ping_get_rtt:rtt(): 0 -> buffer(): 12 (time P:0.16 | 0.09)
>     17:46:06  :  H   5 :  I  29 :  P  65 : cisco_snmp_ping_end(): -1 ->
>     no_backend(): 0 (time P:0.14 | 0.05)
>     17:46:07  :  H   5 :  I  29 :  P  80 : no_poller(): 0 -> rrd(*):
>     input:693298869 - output:3024113218 - inputerrors:0 - outpu\
>     terrors:0 - rtt:0 - packetloss:0 - inpackets:882162407 -
>     outpackets:989879160 - drops:0 - bandwidthin:12500000 - bandwidthou\
>     t:12500000 (time P:0.07 | 445.58)
>     17:46:07  :  H   5 :  I  29 :  P LPD : last_poll_date(): 1115588766
>     -> db(last_poll_date): 1 (time P:0.18 | 3.29)
>     17:46:07  :  H   5 : Poller End, Total Time: 505.34 msec.
>      
>      
>     Thanks
>      
>     Jason
> 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to