On Tue, Apr 17, 2007 at 05:17:11PM -0500, Coleman, Nate wrote:
> I turned on debug and I grabbed the commands that were being run for
> that particular graph. I copied and pasted them into my term and I
> found only 1 that would error:
Ah that one, I had a patch in the Debian package for that for a while so
forgot it. You did the right thing, the colour strings are incorrect.
The Debian package has patch called 10_traffic_pl_graph.dpatch which
does this:
--- jffnms-0.8.3dfsg.1~/engine/graphs/traffic_pl.inc.php 2006-09-17
09:31:14.000000000 +1000
+++ jffnms-0.8.3dfsg.1/engine/graphs/traffic_pl.inc.php 2006-10-21
19:13:55.000000000 +1000
@@ -16,8 +16,8 @@
$opts_GRAPH = array(
"CDEF:inputbits=input,8,*",
"CDEF:outputbits=output,8,*",
- "HRULE:".$data["bandwidthin"]. "#55000:'Total Inbound Bandwidth\:
".($data["bandwidthin"] /1000)." kbps\\n'",
- "HRULE:".$data["bandwidthout"]."#99000:'Total Outbound Bandwidth\:
".($data["bandwidthout"]/1000)." kbps\\n'",
+ "HRULE:".$data["bandwidthin"]. "#550000:'Total Inbound Bandwidth\:
".($data["bandwidthin"] /1000)." kbps\\n'",
+ "HRULE:".$data["bandwidthout"]."#990000:'Total Outbound Bandwidth\:
".($data["bandwidthout"]/1000)." kbps\\n'",
"CDEF:plpor=plraw,2,*",
"CDEF:pldiv=plraw,2,/",
--
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users