[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] How to integrate Hobbit and MRTG
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] How to integrate Hobbit and MRTG
- From: Kevin Grady <kevin.grady (at) gmail.com>
- Date: Wed, 23 Mar 2005 11:54:30 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RQLzJNMSFp6sIh+U4rLVXvMsmBCcXBFCClVS3AxhjxwjZu9rld8x8YpPYsKNc9i7yUm71jaJPPy+m+p+BjxyeLTMjoxNPMLkq+f/GxNjxS+ifNJn0hX81Qtix5Z10FjZHv5K2+pIKqDhrW08bS48QkrsyD2L+wCC2jFIDvvtkxs=
- References: <20050323164854.GA23712@hswn.dk>
Nice work henrik. I was just working the bb mrtg script from deadcat,
but this looks like a better way to go.
Now you just need to get hobbit to make toast in the morning...
On Wed, 23 Mar 2005 17:48:54 +0100, Henrik Stoerner <henrik (at) hswn.dk> wrote:
> I've been playing about with MRTG today, and found out that adding
> MRTG graphs to the Hobbit set of graphs was a very simple task.
> Since this is probably something that others can use, I've written
> up a short description of how to do it:
> http://www.hswn.dk/hobbit/help/hobbit-mrtg.html
>
> The short story is that you can configure MRTG so that it stores its
> datafiles in RRDtool format directly into the directory where Hobbit
> looks for all of the other RRD files for a host. So with a "mrtg"
> entry in the hobbitgraph.cfg file and an extra entry for "mrtg" in
> hobbitserver.cfg's GRAPHS setting, I've got the MRTG graphs showing up
> as normal Hobbit graphs on the "trends" page:
>
> http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOSTSVC=fenris,hswn,dk.trends&IP=172.16.10.254&DISPLAYNAME=fenris.hswn.dk
> (a bit down that page, 3rd and 4th last graphs)
>
> The detailed view is here:
>
> http://www.hswn.dk/hobbit-cgi/hobbitgraph.sh?host=fenris.hswn.dk&service=mrtg&first=1&count=1&action=menu
>
> I did make one simple tweak to the Hobbit code for this - hobbitgraph
> normally bundles graphs into bunches of 5, which doesn't work well for
> the MRTG graphs. So I made the "5" configurable so I could get one
> graph per network interface.
>
> I think it's neat :-)
>
> Henrik
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>