[SOLVED] Cisco Nexus Template

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

Moderators: Developers, Moderators

russellpcook
Posts: 1
Joined: Wed Jul 22, 2009 11:24 am

Re: [SOLVED] Cisco Nexus Template

Post by russellpcook »

It would be helpful if the template could be uploaded please
25sara
Posts: 1
Joined: Fri Jul 29, 2011 4:26 am

Re: [SOLVED] Cisco Nexus Template

Post by 25sara »

I heve noticed it and I agree it....
andy73
Posts: 8
Joined: Tue Aug 16, 2011 6:47 pm

Re: [SOLVED] Cisco Nexus Template

Post by andy73 »

I've downloaded the templated and uploaded it to cacti but can't get any interface graphs displaying??? It detects the interfaces but no graphing.

We are using Nexus 5000.

Any ideas how to fix this?

Thanks.
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Re: [SOLVED] Cisco Nexus Template

Post by sini »

Hi,

I try to monitor cisco n7000 with this template. cpu, mem and port channel interface graphs works fine but all the interface traffics which corresponds to subinterfaces are fail.
How can i create a working subinterface traffic graph?
Sini
sllywhtboy
Posts: 42
Joined: Sun Jul 09, 2006 1:51 am
Location: detroit'ish
Contact:

Re: [SOLVED] Cisco Nexus Template

Post by sllywhtboy »

Nitr0 wrote:Anyone get this? I noticed it's solved but I don't see the fixed host template.
i had to update the data template and recreate the graphs.

Cacti | Data Templates | Cisco Nexus 7000 - 5 Minute CPU.

change the OID from .1.3.6.1.4.1.9.9.109.1.1.1.1.6 to .1.3.6.1.4.1.9.9.109.1.1.1.1.6.1


[root@gtmem152mon rra]# snmpwalk -v 2c -c comm switchip .1.3.6.1.4.1.9.9.109.1.1.1.1.6.1
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.6.1 = Gauge32: 5
prospero63
Posts: 48
Joined: Sun Apr 12, 2009 7:51 pm

Re: [SOLVED] Cisco Nexus Template

Post by prospero63 »

Just wanted to state that these templates completely messed up my interface graphs for all my devices, so if you are going to use them, use some serious caution.
MI1
Posts: 30
Joined: Tue Aug 21, 2012 2:23 am

Re: [SOLVED] Cisco Nexus Template

Post by MI1 »

Is this really solved? Last comment from prospero63 doesnt look nice. I cant find Nexus templates in official page:

Code: Select all

http://docs.cacti.net/templates
And excuse my lack of knowledge but after unpacking zip file included I can see this:

cacti_data_template_cisco_nexus_-_5_minute_cpu.xml
cacti_graph_template_cisco_nexus_-_procmem_usage.xml
cacti_data_template_cisco_nexus_-_procmem_usage.xml
cacti_host_template_cisco_nexus.xml
cacti_graph_template_cisco_nexus_-_cpu_usage.xml

To try and risk that it mess up my graphs I should copy data templates into /cacti/resource/snmp_queries/ and import graph template via web interface [Import Templates] ?

Also I am kindly asking all, please if you have tested Nexus templates share it.

Thx for response
bangolio
Cacti User
Posts: 61
Joined: Sun Nov 24, 2013 5:44 am

Re: [SOLVED] Cisco Nexus Template

Post by bangolio »

Importing these files *destroyed* my existing templates that had nothing to do with it.
I assume it contains the author's "Interface Statistics" data query, data templates, graph templates and what not.
Regardless of that, it didn't work on the Nexus 7K I was trying it on.
Since there is no way to see what was changed, revert or reapply the original objects, I have to spend a couple of hours trying to fix this. :x


For the innocent user:
Do not import this template!
These worked for me:

- Nexus 5000 CPU: 1.3.6.1.4.1.9.9.109.1.1.1.1.7.1
- Nexus 7000 CPU & RAM:
5 seconds: SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.6.1 = Gauge32: 8 <-------- you probably don't need this
1 minute: SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.7.1 = Gauge32: 10
5 minutes: SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.8.1 = Gauge32: 9
Memory used: SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.12.1 = Gauge32: 3189960
Memory free: SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.13.1 = Gauge32: 925780
More:
http://tools.cisco.com/Support/SNMP/do/ ... oidContent

Mod/Admin:
You need to get rid of this template before it causes any more damage to other people.


EDIT: Part of this shit template apparently includes having five fields for the SNMP port per data template and who knows what else.
If anyone knows how to revert this - ie where the fields for this form defined in, I am begging for your help, thanks.
snasre
Posts: 36
Joined: Thu May 29, 2014 5:21 pm

Re: [SOLVED] Cisco Nexus Template

Post by snasre »

Hey hi,

The template which you have given for cisco nexus 7000 gives nan values for cpu usage and procmem usage. I am using cacti 0.8.8a. Whats the issue?

Thanks
Sanket

limuerti wrote:Dear all,
I tried to create a new template to graph Cisco Nexus devices performances.
Everything is working well for interface graphs.
But when I try to use CPU Usage and/or Memory usage I get the following messages:

09/03/2009 09:02:14 AM - CMDPHP: Poller[0] Host[117] DS[2496] SNMP: v2: 10.200.1.10, dsname: 5min_cpu_nexus, oid: .1.3.6.1.4.1.9.9.305.1.1.1, output: U
09/03/2009 09:02:14 AM - CMDPHP: Poller[0] Host[117] DS[2496] WARNING: Result from SNMP not valid. Partial Result: U
09/03/2009 08:57:08 AM - CMDPHP: Poller[0] Host[117] DS[2496] SNMP: v2: 10.200.1.10, dsname: 5min_cpu_nexus, oid: .1.3.6.1.4.1.9.9.305.1.1.1, output: U
09/03/2009 08:57:08 AM - CMDPHP: Poller[0] Host[117] DS[2496] WARNING: Result from SNMP not valid. Partial Result: U
09/03/2009 08:52:07 AM - CMDPHP: Poller[0] Host[117] DS[2496] SNMP: v2: 10.200.1.10, dsname: 5min_cpu_nexus, oid: .1.3.6.1.4.1.9.9.305.1.1.1, output: U
09/03/2009 08:52:07 AM - CMDPHP: Poller[0] Host[117] DS[2496] WARNING: Result from SNMP not valid. Partial Result: U


Performin a SNMPwalk against that particular OID is returning back a good value. I'm attaching the templates if someone wants to analyze them.

Thanks.
Fabio
snasre
Posts: 36
Joined: Thu May 29, 2014 5:21 pm

Re: [SOLVED] Cisco Nexus Template

Post by snasre »

Looks like the data queries are missing for that template. I just need to know where can I get those files which I will put in <path_cacti>/resource/snmp_queries which will help me create new data queries.


Thanks
Sanket
User avatar
NitrousOxyde
Posts: 20
Joined: Mon Sep 21, 2015 9:17 am
Location: Baku, Azerbaijan
Contact:

Re: [SOLVED] Cisco Nexus Template

Post by NitrousOxyde »

Gents,

For used memory, you can use OID .1.3.6.1.4.1.9.9.109.1.1.1.1.12.1, and for free memory - .1.3.6.1.4.1.9.9.109.1.1.1.1.13.1

BUT note, that returned values are in KBytes(as are, when you issue "show system resources" on switch)
CCIE R&S
JNCIS SP
JNCIS ENT
denis31
Posts: 2
Joined: Mon Feb 10, 2014 8:37 am
Location: FRANCE (Toulouse)

Re: [SOLVED] Cisco Nexus Template

Post by denis31 »

Hi,

SNMP OID used for a Cisco Nexus 9504 Active Supervisor Card CPU+RAM Utilization + CPU Temperature ("Data Templates" Cacti menu):

CISCO NEXUS Active Supervisor Average CPU Utilization:
OID: iso.3.6.1.4.1.9.9.305.1.1.1.0

CISCO NEXUS Active Supervisor Average RAM Utilization:
OID: iso.3.6.1.4.1.9.9.305.1.1.2.0

CISCO NEXUS Active Supervisor CPU Temp:
OID: iso.3.6.1.4.1.9.9.91.1.1.1.1.4.40152

Cf. CISCO-ENTITY-SENSOR-MIB and CISCO-SYSTEM-EXT-MIB

Bye
Denis.
Attachments
Screenshot_2020-01-07 Console - Data Templates - (Edit).png
Screenshot_2020-01-07 Console - Data Templates - (Edit).png (148.03 KiB) Viewed 3343 times
duwijakarta
Posts: 18
Joined: Thu Apr 18, 2024 10:40 pm

Re: [SOLVED] Cisco Nexus Template

Post by duwijakarta »

denis31 wrote: Tue Jan 07, 2020 8:56 am Hi,

SNMP OID used for a Cisco Nexus 9504 Active Supervisor Card CPU+RAM Utilization + CPU Temperature ("Data Templates" Cacti menu):

CISCO NEXUS Active Supervisor Average CPU Utilization:
OID: iso.3.6.1.4.1.9.9.305.1.1.1.0

CISCO NEXUS Active Supervisor Average RAM Utilization:
OID: iso.3.6.1.4.1.9.9.305.1.1.2.0

CISCO NEXUS Active Supervisor CPU Temp:
OID: iso.3.6.1.4.1.9.9.91.1.1.1.1.4.40152

Cf. CISCO-ENTITY-SENSOR-MIB and CISCO-SYSTEM-EXT-MIB

Bye
Denis.

is there a temperature template for catalys?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests