On Wed, 18 Apr 2007 12:11:36 +1000, Craig Small <[EMAIL PROTECTED]> wrote:
> 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.
I'm finally getting back to getting back to this (not a typo). The problem with
the Packet Loss graph was the color designations in traffic_pl.inc.php. Thanks
for that one!
The Traffic graph was the \: problem, but in reverse. I must have seen
something from the list about that problem as I was initially setting this
system up. So I modified traffic.inc.php presuming that I'd need to anyway.
Turns out that I should have left it alone. If I revert back to just a colon,
it works fine-
$opts_GRAPH_init=array(
"HRULE:".$data["bandwidthin"]. "#FF0000:' '",
"COMMENT:'Inbound Bandwidth: ".($data["bandwidthin"] /1000)." kbps'",
"HRULE:".$data["bandwidthout"]."#AA0000:' '",
"COMMENT:'Outbound Bandwidth:".($data["bandwidthout"]/1000)." kbps".(!em
pty($data["address"])?" IP: ".$data["address"]:"")."\\n'",
);
Weird, but it works. Thanks everyone!
-Joe Wells
-------------------------------------------------------------------------
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