Cisco 6500 switche template

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

Moderators: Developers, Moderators

ranchoman

Cisco 6500 switche template

Post by ranchoman »

This is host template for Cisco 6500 switches running IOS or CatOS

The template measures CPU, Memory, Temperature, Backplane load and Interfaces.

Let me know about it.

Cheers,
Attachments
cacti_host_template_cisco_6500.xml
6500 Cisco switche template
(137.25 KiB) Downloaded 26621 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Is PortName supported. Not prepared to install without an engineering review.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
ranchoman
Posts: 4
Joined: Fri Sep 17, 2004 8:51 am

Post by ranchoman »

TheWitness wrote:Is PortName supported.
TheWitness
I have no idea :roll:
renaatski
Posts: 24
Joined: Tue Apr 27, 2004 4:39 am

Post by renaatski »

Hi,

I've tried pulling stuff from a 6506, but the cpu stats don't seem to work:

09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: Host responded to SNMP
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: v1: c6506.mydomain.com, dsname: cisco_memused, oid: .1.3.6.1.4.1.9.9.48.1.1.1.5.1, output: 71456112
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: v1: c6506.mydomain.com, dsname: cisco_tempcur, oid: .1.3.6.1.4.1.9.9.13.1.3.1.3.1, output: 40
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: v1: c6506.mydomain.com, dsname: cisco_tempthr, oid: .1.3.6.1.4.1.9.9.13.1.3.1.4.1, output: 100
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: v1: c6506.mydomain.com, dsname: cisco_memfree, oid: .1.3.6.1.4.1.9.9.48.1.1.1.6.1, output: 196850424
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: v1: c6506.mydomain.com, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.9.109.1.1.1.1.5.1, output: U
09/21/2004 02:00:05 PM - CMDPHP: Poller[0] Host[15] SNMP: v1: c6506.mydomain.com, dsname: cat_systraf, oid: .1.3.6.1.4.1.9.5.1.1.19.0, output: 5

Are you sure that's the OID for 5min_cpu ?

Kind regards,

Renaat
ranchoman
Posts: 4
Joined: Fri Sep 17, 2004 8:51 am

Post by ranchoman »

Hi Renaatski,

I'm using the OID dedicated for Cisco routers.

If you are using a CatOS, you must maybe use the following OID for CPU:
.1.3.6.1.4.1.9.9.109.1.1.1.1.5.9

Easy way to do it is download and install the following graph template.Edit the host template "Cisco - 6500" and add the graph template "Cisco Catalyst - CPU Usage".

Let me know about it because in the past I upgraded my 6500 from CatOS to IOS and I don't remind if I modified the OID or not.

Cheers,
Attachments
cacti_graph_template_1_cisco_catalyst_cpu_usage.xml
Graph Template for Cisco CatOS CPU OID
(9.02 KiB) Downloaded 6018 times
guerra6880
Posts: 33
Joined: Mon Apr 19, 2004 7:47 am

Post by guerra6880 »

ranchoman wrote:Hi Renaatski,

If you are using a CatOS, you must maybe use the following OID for CPU:
.1.3.6.1.4.1.9.9.109.1.1.1.1.5.9
That's the one for the CatOS! :D

Thanks
richrumble

snmp interface name

Post by richrumble »

the oid for routers doesn't work on a catalyst switch, but if your've named a port "set port name x/x xxxxxx" then the Alias oid will return what it's named
ifAlias .1.3.6.1.2.1.31.1.1.1.18
disorganizer
Cacti User
Posts: 68
Joined: Thu Aug 04, 2005 8:34 am

Post by disorganizer »

the ifAlias is not working for catos, as catos (swear@cisco) does not support this. (it is supported in IOS for the desc config-command)

instead, the set xxx desc is represented via snmp the following way:
.1.3.6.1.4.1.9.5.1.4.1.1.4.<slot>.<port>
(which is the most annoying solution i ever saw in a switch).

so you would need to poll ifname (.1.3.6.1.2.1.31.1.1.1.1) for the slot/port of the ifindex, then insert slot and port in the above oid to retrieve the description of a catos port.

is this possible to implement in cacti?
as i am atm searching for a solution to represent catos portdescriptions in graphs automatically (and updating to ios is no solution for those devices).
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, been on my list of things to do for some time.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

is that peak or current for the backplane? is there a oid for current?

Thanks!!!

Great template
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

Also do you have the mib that contains that oid?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you look at MacTrack, I have some scripts to pull out the CatOS PortNames. However, to implement in Cacti does not work right now. I might provide a patch, but I no longer have access to CatOS switches to test it. :(

In life, change is inevitable...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
heckler40
Posts: 21
Joined: Mon Oct 02, 2006 5:36 pm
Location: bash

Post by heckler40 »

TheWitness wrote:If you look at MacTrack, I have some scripts to pull out the CatOS PortNames. However, to implement in Cacti does not work right now. I might provide a patch, but I no longer have access to CatOS switches to test it. :(

In life, change is inevitable...

TheWitness
I may be able to help with that. Feel free to drop me a line.
zervun
Posts: 2
Joined: Mon Oct 24, 2005 5:44 pm

Post by zervun »

I really love this template -

however I can't figure out where to specify an interface

I go into datasources, selected data template interface - traffic

name: |host_description| - Traffic Port 2/7

then I'm assuming index value box is where I enter numbers such as 2/7? under the custom data
pele
Posts: 6
Joined: Fri Oct 20, 2006 11:40 am

No stats

Post by pele »

I'm not receiving stats for any of the above. I only receive SNMP interface statistics. I'm new to Cacti so I'm probably missing something. I only have my community string set for SNMP - Interface Statistics. Do I need to add more data queries?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests