|
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:outputbits: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 -----
|
- [jffnms-users] Traffic Graphs Jason Stafford
- Re: [jffnms-users] Traffic Graphs Jason Stafford
- Re: [jffnms-users] Traffic Graphs Javier Szyszlican
- Re: [jffnms-users] Traffic Graphs Javier Szyszlican
- [jffnms-users] Traffic Graphs Chris Wallace
- Re: [jffnms-users] Traffic Graphs falz
- Re: [jffnms-users] Traffic Graphs Chris Wallace
- Re: [jffnms-users] Traffic Graphs falz
- Re: [jffnms-users] Traffic Graphs falz
- Re: [jffnms-users] Traffic Gr... Chris Wallace
- Re: [jffnms-users] Traffi... Craig Small
- Re: [jffnms-users] Traffi... Drozdik Bela EB_HU
