[hobbit] How to integrate Hobbit and MRTG

Kevin Grady kevin.grady at gmail.com
Wed Mar 23 17:54:30 CET 2005


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
> 
>



More information about the Xymon mailing list