Well, the bug bugged me enough so I patched JFFNMS so it works with
newer rrdtools. I've tested it with rrdtool 1.2.11, Debian version
1.2.11.-0.5 and it works.
The problem is that colons : need to be escaped in comments, which was
not required before.
If you don't know what a patch is, edit the file
engine/graphs/traffic.inc.php and change the colons after Bandwidth to
be \:
Was there any more graphs that didn't work?
- Craig
--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer
csmall at : enc.com.au ieee.org debian.org
--- traffic.inc.php.orig 2006-02-02 18:45:46.000000000 +1100
+++ traffic.inc.php 2006-02-02 18:46:05.000000000 +1100
@@ -24,9 +24,9 @@
$opts_GRAPH_init=array(
"HRULE:".$data["bandwidthin"]. "#FF0000:' '",
- "COMMENT:'Inbound Bandwidth: ".($data["bandwidthin"] /1000)." kbps'",
+ "COMMENT:'Inbound Bandwidth\: ".($data["bandwidthin"] /1000)." kbps'",
"HRULE:".$data["bandwidthout"]."#AA0000:' '",
- "COMMENT:'Outbound Bandwidth:".($data["bandwidthout"]/1000)."
kbps".(!empty($data["address"])?" IP: ".$data["address"]:"")."\\n'",
+ "COMMENT:'Outbound Bandwidth\: ".($data["bandwidthout"]/1000)."
kbps".(!empty($data["address"])?" IP: ".$data["address"]:"")."\\n'",
);
// External Data Gathering