I remember when I first wanted to graph this stuff on Nexus…I noticed the Cisco IOS out-of-the-box graph templates wouldn’t work. I asked around a little and mostly got “You can’t do it,” as the answer. I haven’t dug into it for a long time since I haven’t had to support Nexus much, but today, I was determined.
Cisco exposes this info via the CISCO-PROCESS-MIB at these OIDs:
$ snmpwalk -c public -v 2c myswitch 1.3.6.1.4.1.9.9.109.1.1.1.1
5 second CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 = Gauge32: 6
1 minute CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.7.1 = Gauge32: 6
5 minute CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 = Gauge32: 6
Memory used = 1.3.6.1.4.1.9.9.109.1.1.1.1.12.1 = Gauge32: 1742652
Memory free = 1.3.6.1.4.1.9.9.109.1.1.1.1.13.1 = Gauge32: 6512020
You can see more details on the SNMP object navigator, but of all the objects under 1.3.6.1.4.1.9.9.109.1.1.1.1, only the above seem to be exposed on the Nexus.
Ignore people telling you to use the CISCO-ENTITY-EXT-MIB.