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:[EMAIL PROTECTED] /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 [EMAIL PROTECTED] It also assumes that you have added the ups mib to your loadmibs line. Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:[EMAIL PROTECTED] 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
