Xymon Mailing List Archive search

qtree graphing: adjusting # qtrees displayed per chart

3 messages in this thread

list Tom Georgoulias · Thu, 24 Feb 2005 09:55:45 -0500 ·
Now that netap filer qtree trending is built into hobbit, how can I adjust the number of qtrees that are charted in a single graph so that it is more readable?  Right now all of 12 my qtrees are appearing in a single graph, so it's hard to follow the status.  Disk graphs split up to contain 5 partitions/graph, so I'd like for my qtree (and inode, for that matter) graphs to be the same.  How can I adjust that?

Tom
list Henrik Størner · Thu, 24 Feb 2005 17:05:43 +0100 ·
quoted from Tom Georgoulias
On Thu, Feb 24, 2005 at 09:55:45AM -0500, Tom Georgoulias wrote:
Now that netap filer qtree trending is built into hobbit, how can I 
adjust the number of qtrees that are charted in a single graph so that 
it is more readable?  Right now all of 12 my qtrees are appearing in a 
single graph, so it's hard to follow the status.  Disk graphs split up 
to contain 5 partitions/graph, so I'd like for my qtree (and inode, for 
that matter) graphs to be the same.  How can I adjust that?
It should split up automatically on the "trends" page. I hope it does
that?

On the service status page, it is currently hard-coded into the
bb-hostsvc CGI script to do the split only for "disk" reports. This is
neither elegant nor flexible ... but doing it 100% correct would
entail scanning the RRD directory for matching files every time you 
view a status - or if you run with the statically generated HTML
status logs, every time a status message is received. That's
expensive.

So the bb-hostsvc currently - when it sees a disk report - simply
counts the number of non-blank lines in the status message, and takes
that as the number of disks to generate graphs for.

It could do the same for inode- and qtree-status displays. I'll send
you a patch to test that lets you configure what status-displays
should get this treatment.


Henrik
list Tom Georgoulias · Thu, 24 Feb 2005 11:13:55 -0500 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Thu, Feb 24, 2005 at 09:55:45AM -0500, Tom Georgoulias wrote:
Disk graphs split up
to contain 5 partitions/graph, so I'd like for my qtree (and inode, for
that matter) graphs to be the same.  How can I adjust that?
It should split up automatically on the "trends" page. I hope it does
that?
You are correct, it does.  I guess I've gotten so spoiled with hobbit 
displaying charts under the status display in question that I hardly 
ever venture into the trends section.
quoted from Henrik Størner

I'll send
you a patch to test that lets you configure what status-displays
should get this treatment.
Sounds good to me.