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

Re: [hobbit] Custom graphs on the status page



I have a custom test that I call sp_util (for Spool Utilization, unrelated to the mail spool on Linux/Unix systems). On some hosts, the graph for sp_util is called sp_util.rrd, it contains one data point and that graph show up just fine.

On other hosts, there are two data points and to (hopefully) make things easier called the graph pqueue.rrd for those hosts. For these other hosts it is still considered spool utilization, so the column is called sp_util.

The intent is to display the sp_util graph under some hosts and the pqueue graph under the other hosts (based on where the graphed data applies).

I've tried varying combinations of sp_util and pqueue in the TEST2RRD and GRAPHS settings, with no luck (one or the other shows up under their respective host, never both).

Can this be done and if so, how?

Thanks.

Henrik Storner wrote:
In <43318B96.7040405 (at) saffron.net> Matti Klock <matti (at) saffron.net> writes:


Is it possible to add graphs of custom tests to a status page as well as
the trends page?


The current way of configuring what graphs goes with what status is
very ad-hoc and easy to break.


The way it works now is as follows:

* You have a status called "foo", which is tracked by the RRD file
  "foo.rrd".

* This is mapped to an RRD file via the TEST2RRD setting. So you must
  add "foo" to the list in the TEST2RRD setting. If the RRD filename
  is not the same as the status names (e.g. the status column is called
  "foo", but the rrd-file is "bar.rrd", then it must be done as "foo=bar").

* Then the GRAPHS setting is consulted. This is the list of what graphs
  go on the "trends" column, but it is *also* (in this is the messy part)
  used to decide what graphs are available at all, and how to split
  graphs from multiple RRD files (e.g. disk graphs) into multiple
  graphs.  So you must have the graph listed here as well.

To confuse matters further, there's also the TRENDS setting in the bb-hosts
file, which is used to modify what graphs show up on the "trends" page.

All in all, it's confusing enough that even I get it wrong occasionally.


The way I'd like it to work is to get rid of the TEST2RRD and GRAPHS settings. Instead, I'd like to have a direct mapping from the status column name to the graph definition in hobbitgraphs.cfg. That's a clean-up
job I need to do sometime soon.



Regards, Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk




-- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (414)491-6001 Ans Service: (360)715-2467 rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006