cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1670
Views
0
Helpful
3
Replies

Cisco UCS Manager - SNMP for Critical & Major Faults (true or false)

doctorouter
Level 1
Level 1

Hi,

 

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?

 

Regards,

Orjan

 

3 Replies 3

mojafri
Cisco Employee
Cisco Employee

Hi @doctorouter,

Configuring SNMP for GETs on UCS is straightforward.

Log into UCSM.

Select Admin Tab > Communication Management > Communication Services

Select 'Enabled'

Enter a community string, contact and location.

Click Save.

Testing SNMP GET

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 14.17.193.1 .1.3.6.1.2.1.1.5.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 14.17.193.1 .1

 More specific OIDs can be found here: 

https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/mib/b-series/b_UCS_MIBRef/b_UCS_MIBRef_chapter_0100.html

 

Please rate if you find it helpful.

 

Regards,

MJ

Thanks @mojafri,

 

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:

 

Trap Description
cucsFaultActiveNotif This notification is generated by a Cisco UCS instance whenever a fault is raised.
The OID for this SNMP trap is .1.3.6.1.4.1.9.9.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 .1.3.6.1.4.1.9.9.719.0.2.

 

I'm looking for the above for a SNMP GET.

 

regards,

Orjan

Hi @doctorouter,

You can use MIB objects and get the IOD using below link: 

https://snmp.cloudapps.cisco.com/Support/SNMP/do/BrowseOID.do?local=en

 

For faults use below MIB: 

ftp://ftp.cisco.com/pub/mibs/ucs-mibs/CISCO-UNIFIED-COMPUTING-FAULT-MIB.my

 

Parent OID for fault: 1.3.6.1.4.1.9.9.719.1.1

 

image.png

Let me know if that helps.

 

Regards,

MJ

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card