[SOLVED] Cisco Nexus Template
Moderators: Developers, Moderators
[SOLVED] Cisco Nexus Template
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
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
- Attachments
-
- Cacti_Cisco_Nexus_Template.zip
- (37.17 KiB) Downloaded 4393 times
Last edited by limuerti on Tue Oct 06, 2009 4:53 am, edited 1 time in total.
[solved] Cisco Nexus Templates
I created a template for Cisco Nexus switches.
Please add your comments.
Regards,
Fabio
Please add your comments.
Regards,
Fabio
- Attachments
-
- Cacti Nexus.zip
- (37.8 KiB) Downloaded 4437 times
Problem importing host template
Hello Fabio,
Thanks for taking the time to create these definitions for the Nexus gear. I am getting one error while importing the host def where it is complaining about a data template:
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec, 95th Percentile)
Any idea what data template this is?
Thanks,
Adam
Thanks for taking the time to create these definitions for the Nexus gear. I am getting one error while importing the host def where it is complaining about a data template:
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Unmet Dependency: (Data Template)
+ Found Dependency: (Graph Template) Interface - Traffic (bits/sec, 95th Percentile)
Any idea what data template this is?
Thanks,
Adam
-
- Posts: 1
- Joined: Sun Apr 18, 2010 2:20 am
Are you sure that you've got the correct OIDs? I have downloaded the XML files and walked the OIDs on my Nexus 5010 and the values do not appear to be that of the CPU utilisation.spoonman wrote:I have the same unmet dependencies....some of my interface graphs work but most do not??
I have tried to find the MIBs/OIDs for the CPU and memory but have had no luck so far
Upon further investigation I found that he was in fact using the correct OIDs.
When I walked OID 1.3.6.1.4.1.9.9.109.1.1.1.1.8 (which is for CPU utilisation) it gave me a value of 25, but when I issued the sh system resources command I could not find 25 anywhere, until I took a better took. I found it here:
In regards to the memory utilisation OID, that was a little bit tricker. When I walked the OID .1.3.6.1.4.1.9.9.305.1.1.2.0 it gave me a value of 58. Once again when I issued the sh system resources command I could not find the 58 anywhere (as per the output below):
However, when I worked out the memory used as a percentage of the total memory, I got my 58
I am going to put this in to a Host Template when I get the chance. If anyone wants a copy let me know and I will happily upload it.
When I walked OID 1.3.6.1.4.1.9.9.109.1.1.1.1.8 (which is for CPU utilisation) it gave me a value of 25, but when I issued the sh system resources command I could not find 25 anywhere, until I took a better took. I found it here:
Code: Select all
Load average: 1 minute: 1.41 5 minutes: 0.25 15 minutes: 0.17
Code: Select all
Memory usage: 2074284K total, 1220456K used, 853828K free
Code: Select all
1220456 divided by 2074284 = 58.83
-
- Posts: 4
- Joined: Mon Jul 26, 2010 8:30 am
Re: [SOLVED] Cisco Nexus Template
Hi , we have a Cisco NX-OS(tm) n5000 and we configured the snmp community but,
If I get a snmpwalk on the ethernet interface that is working, the output is always 0.
This is my query snmp:
[root@host ~]# snmpget -v1 -ccomm sw-host ifInOctets.436211712
IF-MIB::ifInOctets.436211712 = Counter32: 0
But on the switch i have traffic:
SW1-NX# sh int e1/2 | grep second
30 seconds input rate 80 bits/sec, 0 packets/sec
30 seconds output rate 72072 bits/sec, 48 packets/sec
We would like to graph the ethernet interfaces, any idea, wrong mib ?
Gian Paolo
If I get a snmpwalk on the ethernet interface that is working, the output is always 0.
This is my query snmp:
[root@host ~]# snmpget -v1 -ccomm sw-host ifInOctets.436211712
IF-MIB::ifInOctets.436211712 = Counter32: 0
But on the switch i have traffic:
SW1-NX# sh int e1/2 | grep second
30 seconds input rate 80 bits/sec, 0 packets/sec
30 seconds output rate 72072 bits/sec, 48 packets/sec
We would like to graph the ethernet interfaces, any idea, wrong mib ?
Gian Paolo
Re:
Can you upload this somewhere? I am in need for the Nexus template, but I get unmet dependencies on the initial template.I am going to put this in to a Host Template when I get the chance. If anyone wants a copy let me know and I will happily upload it.
Re: [SOLVED] Cisco Nexus Template
Hi voiper99,
Would I be able to get a copy of the host template? I wasn't able to send you a message as I have no permission to do so.
Cheers,
Matt Hanna
Would I be able to get a copy of the host template? I wasn't able to send you a message as I have no permission to do so.
Cheers,
Matt Hanna
Re: [SOLVED] Cisco Nexus Template
Anyone get this? I noticed it's solved but I don't see the fixed host template.
Who is online
Users browsing this forum: No registered users and 4 guests