[mrtg] Re: Monitoring APC UPS temp

Jerry Heidtke jheidtke at fmlh.edu
Tue Mar 4 04:16:54 MET 2003


Remove the # from in front of Options[DEVICE_NAME_batt-temp].

This needs to be specified as a gauge. Otherwise, mrtg tries to calculate a
rate of degrees per second, which you surely don't want.

Jerry

-----Original Message-----
From: Sameh Ahmed [mailto:sameh-ml at speedbridge.net] 
Sent: Monday, March 03, 2003 6:52 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Monitoring APC UPS temp


Hello
After lots of tries and help from lots of very nice guys, it works but with
very unreal illogical result for the temperature, though the real
temperature is listed when I do a ANMP walk that's my CFG


# APC UPS Basic Output Status
# CFGNAME : [DEVICE_NAME]_basic-out-status
WorkDir: c:\mrtg-data\temp
LoadMIBs: C:\mrtg-2.9.2\MIBs\apc.mib

Target[DEVICE_NAME_batt-temp]:
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:blablabla at 10.0.1
.128
MaxBytes[DEVICE_NAME_batt-temp]: 100
Title[DEVICE_NAME_batt-temp]: DEVICE_NAME Battery Temperature 
PageTop[DEVICE_NAME_batt-temp]: <H1>DEVICE_NAME Battery Temperature</H1> 
#Options[DEVICE_NAME_batt-temp]: gauge, nopercent, absolute
YLegend[DEVICE_NAME_batt-temp]: Temp 
Legend1[DEVICE_NAME_batt-temp]: Temperature 
Legend2[DEVICE_NAME_batt-temp]: . 
Legend3[DEVICE_NAME_batt-temp]: Max value per interval on graph 
Legend4[DEVICE_NAME_batt-temp]: . 
LegendI[DEVICE_NAME_batt-temp]: UPS Battery Temperature 
LegendO[DEVICE_NAME_batt-temp]: . 



these are the first few lines of the file device_name_batt-temp.log

1046730549 25 25
1046730549 0 0 0 0
1046729687 0 0 0 0
1046729400 6 6 26 26
1046729100 4 4 26 26
1046728800 0 0 0 0
1046728500 0 0 0 0

which shows that it does get the right value
Any ideas?

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