[hobbit] Problems importing mrtg into hobbit trends

Schwimmer, Eric E *HS EES2Y at hscmail.mcc.virginia.edu
Mon Apr 25 05:34:31 CEST 2005


So after digging into this further, I found I had to add a custom test in hobbitgraph.cfg (along with its corresponding entry in the GRAPHS env var in the hobbitserver.cfg).

However, no matter what FNPATTERN I use to try and pick up the cpu data that mrtg has accumulated, it ALWAYS seems to get picked up (and munged) but the mrtg test, even after adding an EXFNPATTERN to the mrtg portion of the hobbitgraph.cfg.

Help?
-Eric

p.s.
I've got a webified bb-hosts file editor that plugs nicely into hobbit, but its only 3/4 done.  The sooner I can get the mrtg graphs working, the sooner I can finish that script.  Its not bribery, I swear ;)

e

-----Original Message-----
From:	Schwimmer, Eric E *HS
Sent:	Wed 4/20/2005 12:44 PM
To:	hobbit at hswn.dk
Cc:	
Subject:	[hobbit] Problems importing mrtg into hobbit trends

Hi all,

I'm trying to move our bb-mrtg.sh setup on our bigbrother server
over to our new hobbit servers;  I've got it sort of work, but I'm
having a problem:  they data appears okay, but it isnt scaled directory
and it's axes (plural of axis, I had to look that one up ;) and legend items are likewise mislabeled.

For instance, my cpu graph goes all the way to 140 (spinal tap, anyone?), its Y axis is labeled in "bits/second", and what would normally be the "1 minute" and "5 minute" legend items are instead "cpu inbound" and "cpu outbound".

I'm pretty much using the same mrtg config that I was for bb-mrtg, with a few tweaks.  Here's an example:
Target[mrtg.testrtr.cpu]: 1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:cid at testrtr
Directory[mrtg.testrtr.cpu]: testrtr
AbsMax[mrtg.testrtr.cpu]: 100
MaxBytes[mrtg.testrtr.cpu]: 100
Options[mrtg.testrtr.cpu]: gauge,nopercent,growright
YLegend[mrtg.testrtr.cpu]: CPU Utilization
ShortLegend[mrtg.testrtr.cpu]: %
LegendI[mrtg.testrtr.cpu]:  1 Min:
LegendO[mrtg.testrtr.cpu]:  5 Min:
Legend1[mrtg.testrtr.cpu]: AvgBusy 1 Min
Legend2[mrtg.testrtr.cpu]: AvgBusy 5 Min
Title[mrtg.testrtr.cpu]: CPU
PageTop[mrtg.testrtr.cpu]: <H1>CPU Utilization</H1>

On the bb-mrtg.sh output on our bigbrother server, everything appears as expected.  I believe most (if not all) of our cfg files were generated with the cfgmaker binary that came with mrtg, if that is any help.

TIA,
-Eric

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







More information about the Xymon mailing list