[mrtg] Re: How to get APC temp from external probe

Albert Stadler Stadler-a at MSSU.EDU
Tue Feb 17 22:56:43 MET 2004


 
 
1. Temp
1.3.6.1.4.1.318.1.1.2.1.1.0&1.3.6.1.4.1.318.1.1.2.1.1.0:(SNMP)@(YOURIP)
* 9 /5 + 32
 
2. Humid
1.3.6.1.4.1.318.1.1.2.1.2.0&1.3.6.1.4.1.318.1.1.2.1.2.0:(SNMP)@(YOURIP)
 
 
Albert Stadler
 
 

>>> Tim Reimers <tim.reimers at asheville.k12.nc.us> 2/17/2004 3:43:49 PM
>>>

Hi everyone-

I have two requests:

1.
Does anyone have the OID for how to get the temp/humidity
from the available external probe?

This config is for the battery temp of the UPS

2.
One other thing is that this is not doing the math right -
the snmpwalk returns
PowerNet-MIB::upsAdvBatteryTemperature.0 = Gauge32: 29

One formula using Fahrenheit on the right is: (C*1.8)+32=F
or
Target[apca1400]:
(.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:commstr at host
* 1.8) = 32

that doesn't work for MRTG though...

Any other ideas on how to lay out the formula so that it's correct and
right for MRTG as well?


WorkDir: /var/www/html/mrtg
Title[^]: CO APC 1400 in top of main server rack (degrees Fahrenheit)
Target[apca1400]:.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:commstr at host
/ 10  * 1.8 + 32
XSize[apca1400]: 360
YSize[apca1400]: 75
Title[apca1400]: APC UPS top of rack - Temperature (F)
MaxBytes[apca1400]: 212
AbsMax[apca1400]: 212
Options[apca1400]: growright,gauge,nopercent
PageTop[apca1400]: <h1>APC UPS top of main rack - Temperature (F)</h1>
YLegend[apca1400]: Deg F
ShortLegend[apca1400]: &deg;F
Legend1[apca1400]: APC 1 - TEMP


Thanks, tim


http://www.gordano.com - Messaging for educators.

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




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