[mrtg] Re: Error Message: WARNING: Could not match host:'public at 172.31.39.5' ref:'' key:''

Daniel J McDonald dan.mcdonald at austinenergy.com
Mon Jul 14 17:17:21 MEST 2003


On Mon, 2003-07-14 at 03:27, Peter Glanville wrote:
> > Im running MRTG 2.9.17 on a Win2K Server and I recently tried to add some
> > Tripplite UPS into MRTG 
[...]
> > Also, the snmp value is displayed as an
> >Integer value 546 but I need it to be graphed in MRTG as 54.6Volts and not
> >546Volts. How do you do this? Thanks!
> 
> Divide the target by 10
> Target[33.1.2.5.0]: 33.1.2.5.0&33.1.2.5.0:public at 172.31.39.5 /10

Note that this will only work if you are using rrdtool as the backend. 
rateup only understands integers.  With rateup you would probably need
to play with the scale command.

I recently set up a host-template for to make monitoring our multitude
ups easier.  I monitor upsEstimatedMinutesRemaining,
upsSecondsOnBattery, upsInputVoltage, upsOutputVoltage, and
upsBatteryVoltage.  I've also got it integrated into Big Brother so that
it will alarm me at appropriate times.  If you want a copy, I've posted
it at http://www.austinnetworkdesign.com/mrtg/ups.template
The template can be called using the --host-template directive on
cfgmaker, so:
/usr/local/mrtg-2/bin/cfgmaker --nointerfaces
--host-template=ups.template --output=foo-ups.cfg
public at foo-ups.ip.address

It also assumes that you have added the ups mib to your loadmibs line.


Daniel J McDonald, CCIE 2495, CNX
Austin Energy


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list