[mrtg] Re: MRTG with Dell 2650 PowerEdge
Manny Ortega
aortega at univ-wea.com
Fri Jan 9 15:50:52 MET 2004
First, MRTG needs to graph two OID's.
Second, Dell emp readings are in Celsius x 10.
Here is a cfg file that I use for a Dell:
Target[asahi.ambient.temp]:
1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1&1.3.6.1.4.1.674.10892.1.700.20.1.6.1.
5:public at 10.100.20.29 / 10 * 1.8 + 32
RouterUptime[asahi.ambient.temp]: public at 10.100.20.29
MaxBytes[asahi.ambient.temp]: 100
AbsMax[asahi.ambient.temp]: 150
Title[asahi.ambient.temp]: Ambient Temperature on Asahi
PageTop[asahi.ambient.temp]: <H1>Ambient Temperature on Asahi</H1>
<TABLE>
<TR><TD>System:</TD><TD>Ambient Temperature on
Asahi</TD></TR>
<TR><TD>Maintainer:</TD><TD>Manny Ortega</TD></TR>
<TR><TD>ESM Front I/O
Temp:</TD><TD>1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1</TD></TR>
<TR><TD>BP Bottom
Temp:</TD><TD>1.3.6.1.4.1.674.10892.1.700.20.1.6.1.5</TD></TR>
</TABLE>
ShortLegend[asahi.ambient.temp]: ºF
YLegend[asahi.ambient.temp]: Temperature °F
ThreshMaxI[asahi.ambient.temp]: 85
ThreshProgI[asahi.ambient.temp]: asahitemp.bat
#ThreshProgOKI[asahi.ambient.temp]: asahitempok.bat
Legend1[asahi.ambient.temp]: ESM Front I/O Temp
Legend2[asahi.ambient.temp]: BP Bottom Temp
Legend3[asahi.ambient.temp]: Legend3
Legend4[asahi.ambient.temp]: Legend4
LegendI[asahi.ambient.temp]: ESM Front I/O:
LegendO[asahi.ambient.temp]: BP Bottom:
Options[asahi.ambient.temp]: gauge, integer, nopercent
#alt+248 for ylegend symbol
Hope that helps...
-MannyO
p.s. one important thing I've learned: If you're experimenting with config
files do not use MaxBytes or set it to 99999999 until you get data, then you
can adjust it to whatever you want...
-----Original Message-----
From: Tim Reimers [mailto:tim.reimers at asheville.k12.nc.us]
Sent: Friday, January 09, 2004 8:05 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG with Dell 2650 PowerEdge
Hi-
Hoping someone can help me understand something here-
I'm getting either weird values (snmpwalk/get) or no values (mrtg)
from a Dell 2650
The details:
I'm running RH80/MRTG 2.9.17-8
against a Dell 2650 running Windows 2000
The commands:
Here's the snmpget I run (snmpwalk returns the same thing)
[acslinux#]: /usr/bin/snmpget -v 1 -c <commstring <hostname>
.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2
This doesn't look much like a valid temp reading!!!
SNMPv2-SMI::enterprises.674.10892.1.700.20.1.6.1.2 = INTEGER: 330
So, I'm getting something out of SNMP on the server- I've got the right
community string, etc
Why is it not a valid temp, and why isn't MRTG graphing anything?
The MRTG cfg file:
WorkDir: /var/www/html/mrtg
# ACSTECH CPU 1 Temp
Target[acstechcpu]:
.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2&.1.3.6.1.4.1.674.10892.1.700.20.
1.6.1.2:<cstring>@<host>
XSize[acstechcpu]: 360
YSize[acstechcpu]: 75
Title[acstechcpu]: ACSTECH Processor 1 - Temperature (F)
MaxBytes[acstechcpu]: 212
AbsMax[acstechcpu]: 212
Options[acstechcpu]: growright,gauge,nopercent
PageTop[acstechcpu]: <h1>ACSTECH Processor 1 - Temperature (F)</h1>
YLegend[acstechcpu]: Deg F
ShortLegend[acstechcpu]: °F
Legend1[acstechcpu]: ACSTECH CPU 1 - TEMP
This doesn't create any info in the graphs, but MRTG doesn't error out
if you run it manually either-
(this is a version of the same OID set up to convert from Celsius to
Fahrenheit, per a cfg I found online
for UPS monitoring)
Target[acstechcpu]: ( 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2 / 10 ) *
1.8 + 32
thanks, Tim
Tim Reimers
Asheville City Schools IT
tim.reimers(at)asheville(dot)k12(dot)nc(dot)us
828-255-5159
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