[mrtg] Re: Monitoring APC UPS temp

Sameh Ahmed sameh-ml at speedbridge.net
Mon Mar 3 11:48:30 MET 2003


Thanks everybody for responding
Well I tried it as

WorkDir: c:\mrtgfolder\temp
runasdaemon:yes
interval:5
Target [upsAdvBatteryTemperature.0]:
1.3.6.1.4.1.318.1.1.1.2.2.2.0&1.3.6.1.4.1.318.1.1.1.2.2.2.0:public at 10.0.1.12
8

and still the same error was reported

ERROR: Line 4 (Target [upsAdvBatteryTemperature.0]:
1.3.6.1.4.1.318.1.1.1.2.2.2.0&1.3.6.1.4.1.318.1.1.1.2.2.2.0:public at 10.0.1.12
8) in CFG file (temp.cfg)  does not make sense

What do you guys think?
Regards
Sameh


----- Original Message -----
From: "Jerry Heidtke" <jheidtke at fmlh.edu>
To: "'Sameh Ahmed'" <sameh-ml at speedbridge.net>; <mrtg at list.ee.ethz.ch>
Sent: Sunday, March 02, 2003 8:49 PM
Subject: RE: [mrtg] Monitoring APC UPS temp


> 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