It looks like you have a space where you shouldn't have one.
Target [upsAdvBatteryTemperature.0]: should be
Target[upsAdvBatteryTemperature.0]:

Jerry


-----Original Message-----
From: Sameh Ahmed [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 4:49 AM
To: [EMAIL PROTECTED]
Subject: [mrtg] Re: Monitoring APC UPS temp



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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
8) in CFG file (temp.cfg)  does not make sense

What do you guys think?
Regards
Sameh


----- Original Message -----
From: "Jerry Heidtke" <[EMAIL PROTECTED]>
To: "'Sameh Ahmed'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> Sent: Sunday, March 02, 2003 12:34 PM
> To: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]
>
> 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:[EMAIL PROTECTED]) 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:[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
>
>
> 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:[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


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

Reply via email to