[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Creating a fake, or combination, client
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Creating a fake, or combination, client
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Tue, 6 Nov 2007 10:34:29 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=IYduWThWCXrzaU/nUSF7vFrcl0iNhwFEZEF5RUQ36fA=; b=J7DSY8KlpoyrDsZouSqlUZwdbvs7h9giqq+saOeX5wEitwxiusSW0BbDLDqd2eG9MF/J+i2UEoiXYR1hPaMrO+FjgAFiQckKP0EO3xNMrVpvot/j1mZxnHelQKpT8pc+T/2ExPu/41Fbr2wEvKA+BC9smaj7zBKvuQotbpxbxv8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IXKkS3qtr9gPST/JQf3NZJe0aR/ttfGfcvalBFiZkP4rW7dQjlnIGfq9ZlYTFXEa2vDJJk8a9pOgVUo6qOVEUK+WWvlaC/rJ+OxVqaNIekd2HSy9du388al005iknNt/yjeEk+yuOCmHRFNdiHdQwMxSQ4uE55ppHVV2ScQMlfU=
- References: <1F7B01020EC4D04DA17703634B9E888E05619980 (at) ULPGCTMVMAI003.EU.COLT>
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
>