Cisco Nexus 5K CPU and Memory Templates

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
frozenpackets
Posts: 1
Joined: Sat Feb 07, 2015 9:39 pm

Cisco Nexus 5K CPU and Memory Templates

Post by frozenpackets »

I'd like to share these 2 templates I've created to graph Cisco Nexus CPU and Memory Utilization:

Image

Image

Here are the OIDs used in these templates:

Code: Select all

$ snmpwalk -m CISCO-PROCESS-MIB -u <user> -l authPriv -a SHA -A <pass> -x AES -X <priv> <ip-address> 1.3.6.1.4.1.9.9.109.1.1.1.1
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.1 = Gauge32: 0 percent
CISCO-PROCESS-MIB::cpmCPUTotal1minRev.1 = Gauge32: 1 percent
CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 1 percent
CISCO-PROCESS-MIB::cpmCPUMemoryUsed.1 = Gauge32: 2211932 kilo-bytes
CISCO-PROCESS-MIB::cpmCPUMemoryFree.1 = Gauge32: 6041924 kilo-bytes

$ snmpwalk -m CISCO-PROCESS-MIB -u <user> -l authPriv -a SHA -A <pass> -x AES -X <priv> <ip-address>  1.3.6.1.4.1.9.9.109.1.1.1.1 -On
.1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 = Gauge32: 3 percent
.1.3.6.1.4.1.9.9.109.1.1.1.1.7.1 = Gauge32: 1 percent
.1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 = Gauge32: 1 percent
.1.3.6.1.4.1.9.9.109.1.1.1.1.12.1 = Gauge32: 2212304 kilo-bytes
.1.3.6.1.4.1.9.9.109.1.1.1.1.13.1 = Gauge32: 6041552 kilo-bytes
The templates can be downloaded here:
https://www.dropbox.com/s/7vpqh2l95lcqw ... u.xml?dl=0
https://www.dropbox.com/s/96miyzsd72atj ... m.xml?dl=0

They have been tested to be working on Cisco Nexus 5548 and 5596UP

Enjoy! :)
ikorzha758
Cacti User
Posts: 164
Joined: Thu Jan 21, 2010 8:41 pm

Re: Cisco Nexus 5K CPU and Memory Templates

Post by ikorzha758 »

Thank you for your hard work, I'm attaching your xml to this thread, drop box dissapears eventually, this thread not :)

I have tested your template on my 7K, 5K and Even IBM Blade chassis that run Nexus OS.
CPU and Memory works o 7K and 5K
On IBM Chassis switch running nexus OS, Only CPU is supported with is OK, since it is not a full fledged device.
Attachments
nexus-template.rar
Templates Attached as rar files
(6.47 KiB) Downloaded 664 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Cisco Nexus 5K CPU and Memory Templates

Post by BSOD2600 »

Please consider posting to the template repository. http://docs.cacti.net/templates
User avatar
Johnny Lingo
Posts: 28
Joined: Tue Feb 19, 2008 9:57 pm
Location: Silicon Valley, USA

Re: Cisco Nexus 5K CPU and Memory Templates

Post by Johnny Lingo »

I was looking to use these with some new 93180YC-EX and discovered the values returned on it are in KB, not Bytes. These is also the case on Cisco IOS-XE routers so it was an easy fix.

Nexus9K_Memroy.png
Nexus9K_Memroy.png (23.05 KiB) Viewed 5867 times

Got the updated template here - https://layer77.net/2019/09/01/cacti-te ... -nexus-9k/
Server Info: Cacti0.8.8f / NET-SNMP 5.7.3 / RRDTool 1.5.5 / Apache 2.4.18 (Ubuntu) / PHP 7.0.33 / MySQL 5.7.27
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: Cisco Nexus 5K CPU and Memory Templates

Post by duwijakarta »

Johnny Lingo wrote: Sun Sep 01, 2019 11:44 am I was looking to use these with some new 93180YC-EX and discovered the values returned on it are in KB, not Bytes. These is also the case on Cisco IOS-XE routers so it was an easy fix.


Nexus9K_Memroy.png


Got the updated template here - https://layer77.net/2019/09/01/cacti-te ... -nexus-9k/

hello sir, thanks you for template is work, any Is there also a catalyst switch type?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests