angel115 |
07-28-2010 07:41 AM |
Monitoring with Nagios and SNMP
Hello There,
I'm trying to monitor our new BladeCenter H8852 using Nagios and SNMP.
In first place, I'd like to monitor manly the temperatures, fans and voltage of the blade.
But anyway, here is my probleme:
I've setup SNMP v1 in the Blade Center Web UI and used snmpwalk to check what value I can query to achieve what I want, but it doesn't give any temprature, fan nor voltage information.
Code:
# snmpwalk -Os -c public -v 1 192.168.70.125
sysDescr.0 = STRING: BladeCenter Advanced Management Module
sysObjectID.0 = OID: enterprises.2.6.158.5
sysUpTimeInstance = Timeticks: (60349660) 6 days, 23:38:16.60
sysContact.0 = STRING: root@localhost
sysName.0 = STRING: BLADE--192.168.70.125
sysLocation.0 = STRING: PAPCART
sysServices.0 = INTEGER: 0
sysORLastChange.0 = Timeticks: (2) 0:00:00.02
sysORID.1 = OID: snmpFrameworkMIBCompliance
sysORID.2 = OID: snmpMPDCompliance
sysORID.3 = OID: usmMIBCompliance
sysORID.4 = OID: snmpMIB
sysORID.5 = OID: vacmBasicGroup
sysORDescr.1 = STRING: The SNMP Management Architecture MIB.
sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.
sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
sysORUpTime.1 = Timeticks: (1) 0:00:00.01
sysORUpTime.2 = Timeticks: (2) 0:00:00.02
sysORUpTime.3 = Timeticks: (2) 0:00:00.02
sysORUpTime.4 = Timeticks: (2) 0:00:00.02
sysORUpTime.5 = Timeticks: (2) 0:00:00.02
snmpInPkts.0 = Counter32: 176
snmpOutPkts.0 = Counter32: 156
snmpInBadVersions.0 = Counter32: 0
snmpInBadCommunityNames.0 = Counter32: 6
snmpInBadCommunityUses.0 = Counter32: 0
snmpInASNParseErrs.0 = Counter32: 0
snmpInTooBigs.0 = Counter32: 0
snmpInNoSuchNames.0 = Counter32: 0
snmpInBadValues.0 = Counter32: 0
snmpInReadOnlys.0 = Counter32: 0
snmpInGenErrs.0 = Counter32: 0
snmpInTotalReqVars.0 = Counter32: 142
snmpInTotalSetVars.0 = Counter32: 0
snmpInGetRequests.0 = Counter32: 0
snmpInGetNexts.0 = Counter32: 146
snmpInSetRequests.0 = Counter32: 0
snmpInGetResponses.0 = Counter32: 0
snmpInTraps.0 = Counter32: 0
snmpOutTooBigs.0 = Counter32: 0
snmpOutNoSuchNames.0 = Counter32: 0
snmpOutBadValues.0 = Counter32: 0
snmpOutGenErrs.0 = Counter32: 0
snmpOutGetRequests.0 = Counter32: 0
snmpOutGetNexts.0 = Counter32: 0
snmpOutSetRequests.0 = Counter32: 0
snmpOutGetResponses.0 = Counter32: 156
snmpOutTraps.0 = Counter32: 0
snmpEnableAuthenTraps.0 = INTEGER: disabled(2)
snmpSilentDrops.0 = Counter32: 0
snmpProxyDrops.0 = Counter32: 0
#
but I've found here ( http://www.snmplink.org/cgi-bin/nd/m...5D/mmblade.mib) the MIB of what it seems to be the MIB for that bladeCenter.
And there I can see few parameters that I should be able to query:
frontPanel2Temp
frontPanelTemp
mt1ThermalTrendingTemperature
bladeSensor1Temp
bladeSensor2Temp
and many more...
but when I try to query these value it doesn't recognise them:
Code:
# ./check_snmp -H 192.168.0.125 -C public -o bladeSensor1Temp
External command error: bladeSensor1Temp: Unknown Object Identifier (Sub-id not found: (top) -> bladeSensor1Temp)
#
in the other hand, if I try to query one of the value given by snmpwalk, it work fine:
Code:
/check_snmp -H 192.168.0.125 -C public -o sysORDescr.3
SNMP OK - The management information definitions for the SNMP User-based Security Model. |
#
Why I can't query these OIDs?
Why does snmpwalk doesn't show these OIDs (bladeSensor1Temp, etc...)?
Best regards,
Angel.
|