Cisco Nexus CPU and Memory Templates

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

Moderators: Moderators, Developers

Post Reply
Author
Message
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Cisco Nexus CPU and Memory Templates

#1 Post by jay » Mon Nov 03, 2014 10:33 am

Hi

I have made my own CPU and Memory templates for Cisco Nexus. These have been tested on:-
cisco Nexus3064T
cisco Nexus5548

There should be 3 data templates and 1 graph template for CPU.
There should be 2 data templates and 1 graph template for Memory.

I just exported the data and graph templates from Cacti and ticked to include dependancies. I just used 5 minute polling for these templates.
See signature for the Cacti version I used to export. There is a chance they may not import successfully for you based on your Cacti version.

These are the OIDS I used.
5 second CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 = Gauge32:
1 minute CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.7.1 = Gauge32:
5 minute CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 = Gauge32:
Memory used = 1.3.6.1.4.1.9.9.109.1.1.1.1.12.1 = Gauge32:
Memory free = 1.3.6.1.4.1.9.9.109.1.1.1.1.13.1 = Gauge32:

Cheers
Jay
Attachments
cisco_nexus_cacti.JPG
cisco_nexus_cacti.JPG (87.62 KiB) Viewed 4314 times
Memory.zip
(6.65 KiB) Downloaded 309 times
CPU.zip
(8.72 KiB) Downloaded 337 times
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

jimcjulsonjr
Posts: 48
Joined: Fri Dec 07, 2012 11:11 am

Re: Cisco Nexus CPU and Memory Templates

#2 Post by jimcjulsonjr » Sat Jan 10, 2015 11:10 am

jay wrote:Hi

I have made my own CPU and Memory templates for Cisco Nexus. These have been tested on:-
cisco Nexus3064T
cisco Nexus5548

There should be 3 data templates and 1 graph template for CPU.
There should be 2 data templates and 1 graph template for Memory.

I just exported the data and graph templates from Cacti and ticked to include dependancies. I just used 5 minute polling for these templates.
See signature for the Cacti version I used to export. There is a chance they may not import successfully for you based on your Cacti version.

These are the OIDS I used.
5 second CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 = Gauge32:
1 minute CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.7.1 = Gauge32:
5 minute CPU = 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 = Gauge32:
Memory used = 1.3.6.1.4.1.9.9.109.1.1.1.1.12.1 = Gauge32:
Memory free = 1.3.6.1.4.1.9.9.109.1.1.1.1.13.1 = Gauge32:

Cheers
Jay

PERFECT! Working flawless!

The only thing I would change, is to set the Graph Template to "Auto Scale" rather than defining the MAX VALUE to 100. This allows you to not only see the 5 second/1 minute/5 minute values more clearly, but also allows you to get a quicker sense at a glance. On average most Cisco devices will be operating within standard ranges, so these values tend to be fairly flat. Having them auto-scale will just give much better visuals.

Have you considered getting these added to the templates section? Seeing as how Nexus is quite different with NX-OS compared to IOS from a MIB/OID perspective, these would be a tremendous help for users that don't know to search forums for templates like this.
-------------------------------------

VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Re: Cisco Nexus CPU and Memory Templates

#3 Post by jay » Mon Jan 12, 2015 8:27 am

Hi
Thanks for your feedback. I have changed to auto scale and I see what you mean it looks much better now.
I have also managed to create a wiki page on the cacti template page as requested.

http://docs.cacti.net/usertemplate:host:cisco_nexus

Thanks Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

jimcjulsonjr
Posts: 48
Joined: Fri Dec 07, 2012 11:11 am

Re: Cisco Nexus CPU and Memory Templates

#4 Post by jimcjulsonjr » Mon Jan 12, 2015 12:16 pm

jay wrote:Hi
Thanks for your feedback. I have changed to auto scale and I see what you mean it looks much better now.
I have also managed to create a wiki page on the cacti template page as requested.

http://docs.cacti.net/usertemplate:host:cisco_nexus

Thanks Jay
You are awesome! Thanks for doing this!
-------------------------------------

VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR

Post Reply