[mrtg] Re: Monitoring APC UPS temp

Jerry Heidtke jheidtke at fmlh.edu
Sun Mar 2 19:49:06 MET 2003


RTFM. You need at least two, and no more than two, OIDs on the target line.

If you use one OID, mrtg will fail. If you use three OIDs, mrtg will fail.

-----Original Message-----
From: Sameh Ahmed [mailto:sameh-ml at speedbridge.net]
Sent: Sunday, March 02, 2003 12:34 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Monitoring APC UPS temp


Hello there 
I'm trying to monitor the temperature of a APC UPS battery, using a SNMP
walk tool I managed to get the name and the OID.
the OID is 1.3.6.1.4.1.318.1.1.1.2.2.2.0 and the name is
upsAdvBatteryTemperature.0
I created the following temp.CFG file

WorkDir: c:\mrtg-data\temp
runasdaemon:yes
interval:5
Target [upsAdvBatteryTemperature.0]:
1.3.6.1.4.1.318.1.1.1.2.2.2.0:public at 10.0.1.128 

When I perl mrtg temp.cfg
it says

ERROR: Line 6 (Target [upsAdvBatteryTemperature.0]:
1.3.6.1.4.1.318.1.1.1.2.2.2.
0:public at 10.0.1.128) in CFG file (temp.cfg)  does not make sense

I'm new to this, any ideas or places to look for a solutions?

Thanks in advance

Thanks and best regards
Sameh Ahmed
ALS
--
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


Confidentiality Notice: This e-mail message, including any attachments, is 
for the sole use of the intended recipient(s) and may contain confidential 
and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.


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