Has anyone created a SNMP GET rule in their favorite monitoring system for Cisco UCS Manager to look for Faults?
Specifically Critical and Major fault events?
Configuring SNMP for GETs on UCS is straightforward.
Log into UCSM.
Select Admin Tab > Communication Management > Communication Services
Enter a community string, contact and location.
Command line tools:
(Built into most linux distros and OS X. Can get NET SNMP for Windows command line http://www.net-snmp.org/)
Get one OID:
Snmpget -v 2c -c public 18.104.22.168 .22.214.171.124.126.96.36.199.0
Get all 'known values' starting at this OID and below (this is probably the simplest way to query a device for SNMP and return a ton of data):
Snmpwalk -v 2c -c public 188.8.131.52 .1
More specific OIDs can be found here:
Please rate if you find it helpful.
I've successfully configured and able to poll the device remotely with SNMP.
My question was more directed to Cisco UCS Fault Event collection with SNMP. From the link you referred to I can find the following rules I'm looking for, but it's SNMP TRAP, not SNMP GET:
|cucsFaultActiveNotif||This notification is generated by a Cisco UCS instance whenever a fault is raised.|
|The OID for this SNMP trap is .184.108.40.206.220.127.116.11.719.0.1.|
|cucsFaultClearNotif||This notification is generated by a Cisco UCS instance whenever a fault is cleared.|
|The OID for this SNMP trap is .18.104.22.168.22.214.171.124.719.0.2.|
I'm looking for the above for a SNMP GET.
You can use MIB objects and get the IOD using below link:
For faults use below MIB:
Parent OID for fault: 126.96.36.199.188.8.131.52.719.1.1
Let me know if that helps.