On Wed, Jun 30, 2010 at 10:56:37AM -0300, Martin Parodi wrote: > /usr/bin/rrdtool graph '/var/lib/jffnms/tempengine/4c2b4b4225939.dat' > --imgformat=PNG --start=1277818140 --end=1277904540 --base=1000 > --lower-limit=1 --title='EARMDZSW015 Mendoza Vlan1 Mendoza > 2010-06-30 10:47:03' --alt-autoscale-max --color=GRID#CCCCCC > --color=MGRID#777777 --height=150 --width=500 --vertical-label='Bits per > Second' DEF:input=/var/lib/jffnms/rrd/interface-1193-0.rrd:data:AVERAGE > DEF:output=/var/lib/jffnms/rrd/interface-1193-1.rrd:data:AVERAGE > CDEF:inputbits=input,UN,input,input,IF,8,* > CDEF:outputbits=output,UN,output,output,IF,8,* HRULE:1000000000#FF0000:' ' > COMMENT:'Inbound Bandwidth\: 1000000 kbps' HRULE:1000000000#AA0000:' ' > COMMENT:'Outbound Bandwidth\: 1000000 kbps IP: 10.78.107.13\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 %sbp> s' > GPRINT:outputbits:LAST:'Last\:%8.2lf %sbps\n' See the bit where it has 'IP: 10...'?
I put that line on the command line and it complained about that. You need to escape that colon too. The later versions of rrdtool don't have this problem. (I just checked on my system and its fine). line 29 of engine/graphs/traffic.inc.php: "COMMENT:'Outbound Bandwidth:".($data["bandwidthout"]/1000)." kbps".(!empty($data["address"])?" IP: ".$data["address"]:"")."\\n'", change IP: to IP\: you probably already have Bandwidth\: as its the same problem. It's not because its a vlan interface, it is because it has an IP address. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 http://www.enc.com.au/ csmall at : enc.com.au http://www.debian.org/ Debian GNU/Linux, software should be Free ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users