Ok, that had info No one else has been able to provide... The key is the host not volunteering its proprietary OIDs, and the example walks are great too.
I'm aware that we wait passively for traps and go hunt with get, but good points.
I see now that for example
Code: Select all
cpqHoMibHealthStatusArrayChangeTrap TRAP-TYPE
ENTERPRISE compaq
VARIABLES { sysName, cpqHoTrapFlags, cpqHoMibHealthStatusArray }
DESCRIPTION
"A change in the cpqHoMibHealthStatusArray has occurred."
--#TYPE "Health Status Array Change occurred (11020)"
--#SUMMARY "A change in the health status of the server has occurred, the status is now %s"
--#ARGUMENTS {2}
--#SEVERITY INFORMATIONAL
--#TIMEINDEX 99
--#SIMPLE_SEVERITY OK
--#HWSTATUS_CATEGORY MANAGEMENTPROCESSOR
::= 11020
is explained by
Code: Select all
cpqHoMibHealthStatusArray OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..256))
ACCESS read-only
STATUS mandatory
DESCRIPTION "The MIB Health Status Array is an array of status values representing an
overall status in element 0 follwed by server and storage status values as follows:
Octet Element Field
======== ======= =========
0 0 Aggregated Status of array elements
1 1 Status of element 1
2 2 Status of element 2
.
.
.
n n Status of element n
Status 0 - Not available
1 - Other
2 - OK
3 - Degraded
4 - Failed
.
.
Mibs are assigned an array element as follows. New items are added at the end.
0 - System Health Status (overall status as reported by who is reporting (agents or iLO))
1 - Total Aggregate (Includes IML Status)
2 - Processors (TBD 232.1.2.2.4:cpqSeCpuCondition)
3 - Memory (232.6.2.14.4:cpqHeResilientMemCondition)
4 - Cooling (232.6.2.6.4:cpqHeThermalSystemFanStatus)
5 - Sensors (232.6.2.6.3:cpqHeThermalTempStatus)
6 - Power (232.6.2.9.1:cpqHeFltTolPwrSupplyCondition)
7 - ProLiant Logs (232.6.2.11.2:cpqHeEventLogCondition)
8 - ASR (232.6.2.5.17:cpqHeAsrCondition)
9 - Drive Array (232.3.1.3:cpqDaMibCondition)
10 - SCSI (232.5.1.3:cpqScsiMibCondition)
11 - Storage Enclosures (232.8.1.3:cpqSsMibCondition)
12 - IDE (232.14.1.3:cpqIdeMibCondition)
13 - FC (232.16.1.3:cpqFcaMibCondition)
14 - Networks (232.18.1.3:cpqNicMibCondition)
15 - MP (232.9.1.3:cpqSm2MibCondition)
16 - HW/BIOS (232.6.2.16.1:cpqHeHWBiosCondition)
17 - Battery (232.6.2.17.1:cpqHeSysBackupBatteryCondition)"
::= { cpqHoSystemStatus 7 }
So now I can ask about my CPUs for example:
# snmpwalk -t 3 -v 2c -Cc -m ALL -c sp1der cocsm2mlapp006.ilo 1.3.6.1.4.1.232.1.2.2.4
CPQSTDEQ-MIB::cpqSeCpuCondition.0 = INTEGER: ok(2)
# snmpwalk -t 3 -v 2c -Cc -m ALL -c sp1der cocsm2mlapp006.ilo CPQSTDEQ-MIB::cpqSeCpuCondition.0
CPQSTDEQ-MIB::cpqSeCpuCondition.0 = INTEGER: ok(2)
This is great.
Thanks!