[mrtg] MRTG and APC UPS

Nicolas Raddatz billy.sweeter at gmail.com
Fri Sep 17 00:05:29 MEST 2004


Hi all,

I want to monitor my APC Smart-UPS RT 5000 XL and APC Environmental
Management System (EMS) AP 9320 using MRTG (Windows Platform). I've
researched quite a lot, but still have some problems.

Do you know what OIDs are available for them? Or maybe an example MRTG
cfg file? I have found the following for the UPS:

Runtime in minutes: 1.3.6.1.4.1.318.1.1.1.2.2.3.0
Unfortunately, the retrieved value is of no use, since MRTG doesn't
understand what '0:30:00' means (30 minutes) and I get a nice ERROR:
Target[ups_1][_IN_] ' $$target[0]{$mode} ' did not eval into defined data
I could do a script to parse this, and have been investigating, I found a
snmpget for Windows (net-snmp), but haven't been able to get anything from
the UPS via command line. Strange. Using getif I can connect to it via SNMP.

Temperature (celcius): 1.3.6.1.4.1.318.1.1.1.2.2.2.0
It "seems" to work (no error) but all I get is 0.

Voltage (volts): 1.3.6.1.4.1.318.1.1.1.4.2.1.0
It "seems" to work (no error) but all I get is 0.

Any help will be greatly appreciated. I'm sure someone out there has
solved this before.


Thanks.

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