[hobbit] Creating a fake, or combination, client
Ward, Martin
Martin.Ward at colt.net
Tue Nov 6 17:01:15 CET 2007
Thanks Gary,
I think the thing I am missing in your example (and in general to be
honest) is: What is the link between fake-host in the bb-hosts file and
[custom-postfix] in the hobbitgraph.cfg file?
|\/|artin
-----Original Message-----
From: Gary Baluha [mailto:gumby3203 at gmail.com]
Sent: 06 November 2007 15:34
To: hobbit at hswn.dk
Subject: Re: [hobbit] Creating a fake, or combination, client
On 11/6/07, Ward, Martin <Martin.Ward at colt.net> wrote:
Hi all,
I am a newbie to Hobbit and have inherited a working
system. I have a good idea of how it all hangs together but now I want
to produce certain graphs and cannot figure out how.
I have a cluster of mail servers that run Postfix; each
of these clients is monitored within Hobbit. In the Trends link for each
client I have graphs showing the various mail queues (incoming, deferred
etc) and this data is stored in RRD files on the Hobbit server.
Is there a way within Hobbit of creating a false or
meta- client that can have a graph with data from all of these RRD
files? Particularly I would like a graph that has all the incoming mail
queue sizes on it with one line per server. I already have this
information in lots of different RRD files but would like to have them
all in one graph. I can create a graph outside of Hobbit to do this, but
within the monitoring system it restricts the RRD files it will display
data from to those in the data directory of the selected client (in the
Trends link).
Hmm. You could probably create a host and set up a noconn test
to some random IP like 10.0.0.1 (i.e. in bb-hosts: 10.0.0.1
fake-host # noconn). Regardless of what host (or fake host, if you do
that), you will need to create a new RRD trend to that host.
You can create an RRD graph (by modifying hobbit-graph.cfg) that
gets its data from multiple RRD files. These files are usually created
in a directory for each host, and I don't know if you can just create a
symlink to those or not. But assuming that works, you should be all set
in creating a single graph that plots all the other data using a single
scale.
I think you would want to add the following to hobbitserver.cfg:
GRAPHS="<whatever is already there>,custom-postfix"
And then hobbit-graph.cfg would look something like this:
[custom-postfix]
. . .
DEF:hosta:HostA.rrd:AVERAGE
DEF:hostb:HostB.rrd:AVERAGE
. . .
I have tried creating a new client in the data files ans
symbolically linking the other RRD files into its data directory, but
cannot persude the graphs to appear in the trends web page.
Thanks for your time,
|\/|artin
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071106/24cb46a7/attachment.html>
More information about the Xymon
mailing list