BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} LARRD: not all graphs for disks shown



Hi Harald

I had the same problem (Solaris 9, BB 1.9e, Larrd 0.43c), and I fluked a
partial fix. I managed to get all the partitions put onto 1 graph, and
can get the same graph repeated under the 'trends' column in BB (this is
for both disk graphs). Hopefully someone has a better fix (or knows
where to put the line you have found is missing), as its confusing to
see 20 lines on one graph. I believe there should be 5 or 6 lines per
graph.

This is what I did:

In the file: larrd-grapher.cgi (in my case I copied this to:
/var/apache/cgi-bin)

I commented out the line:
       @sub_array = @sub_array[$a .. $b];



This is around line 1678:

Etc
Etc



       my @sub_array = sort @disk_array;
       my ($a, $b) = split (/\.\./, $disk_part);
#       @sub_array = @sub_array[$a .. $b];

Etc
Etc

You then need to wait for BB to run its tests again (ie up to 5 mins). I
cannot remember if I had to restart apache or the BB client for this to
work.

I assume you have an older version of something as I don't have a
'larrd' column, just the 'trends' and 'disk' column and both of those
graphs have the same problem.

As I said its only a partial fix, hopefully someone has a better one.

Cheers
 Trevor
    


-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of
Harald.Husemann@materna.de
Sent: Wednesday, 9 March 2005 3:07 AM
To: bb@bb4.com
Subject: {bb} LARRD: not all graphs for disks shown


Hi folks,

I just installed BB and LARRD (newest versions), everything's okay,
except
of one little problem:
On the disk usage page, the trending graph is displayed, but only for
the
root-Filesystem.
When I choose "larrd" for the same server, I can see the graphs for all
monitored filesystems, so I'd say the server has the data...
I figured out that there is one difference between in the sourcecode for
the
two pages:
On the disk status page, the "&disk_part=0..5" at the end of the image
source is missing. I think this is the problem, but how can I tell BB to
add
this parameter for the graph source on the disk page also?

Thanks in advance,

have a nice hackin',

Harald
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index