Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cisco 6500 switche template
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ranchoman
Guest





PostPosted: Fri Sep 17, 2004 5:53 am    Post subject: Cisco 6500 switche template Reply with quote

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,



cacti_host_template_cisco_6500.xml
 Description:
6500 Cisco switche template

Download
 Filename:  cacti_host_template_cisco_6500.xml
 Filesize:  137.25 KB
 Downloaded:  8947 Time(s)

Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9691
Location: MI, USA

PostPosted: Fri Sep 17, 2004 8:26 am    Post subject: Reply with quote

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

TheWitness
Back to top
ranchoman



Joined: 17 Sep 2004
Posts: 4

PostPosted: Mon Sep 20, 2004 3:24 am    Post subject: Reply with quote

TheWitness wrote:
Is PortName supported.
TheWitness


I have no idea
Back to top
renaatski



Joined: 27 Apr 2004
Posts: 22

PostPosted: Tue Sep 21, 2004 7:02 am    Post subject: Reply with quote

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
Back to top
ranchoman



Joined: 17 Sep 2004
Posts: 4

PostPosted: Wed Sep 22, 2004 5:19 am    Post subject: Reply with quote

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,



cacti_graph_template_1_cisco_catalyst_cpu_usage.xml
 Description:
Graph Template for Cisco CatOS CPU OID

Download
 Filename:  cacti_graph_template_1_cisco_catalyst_cpu_usage.xml
 Filesize:  9.02 KB
 Downloaded:  2366 Time(s)

Back to top
guerra6880



Joined: 19 Apr 2004
Posts: 33

PostPosted: Wed Sep 22, 2004 6:10 am    Post subject: Reply with quote

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!

Thanks
Back to top
richrumble
Guest





PostPosted: Wed Oct 06, 2004 3:08 pm    Post subject: snmp interface name Reply with quote

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
Back to top
disorganizer



Joined: 04 Aug 2005
Posts: 47

PostPosted: Fri Aug 12, 2005 8:35 am    Post subject: Reply with quote

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).
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9691
Location: MI, USA

PostPosted: Fri Aug 12, 2005 3:00 pm    Post subject: Reply with quote

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

TheWitness
Back to top
hermatize
Cacti User


Joined: 10 Aug 2005
Posts: 55

PostPosted: Tue Oct 10, 2006 11:16 am    Post subject: Reply with quote

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

Thanks!!!

Great template
Back to top
hermatize
Cacti User


Joined: 10 Aug 2005
Posts: 55

PostPosted: Tue Oct 10, 2006 11:17 am    Post subject: Reply with quote

Also do you have the mib that contains that oid?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9691
Location: MI, USA

PostPosted: Tue Oct 10, 2006 9:03 pm    Post subject: Reply with quote

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
Back to top
heckler40



Joined: 02 Oct 2006
Posts: 21
Location: bash

PostPosted: Wed Oct 11, 2006 12:44 am    Post subject: Reply with quote

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.
Back to top
zervun



Joined: 24 Oct 2005
Posts: 2

PostPosted: Thu Oct 12, 2006 12:11 pm    Post subject: Reply with quote

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
Back to top
pele



Joined: 20 Oct 2006
Posts: 5

PostPosted: Fri Oct 20, 2006 12:03 pm    Post subject: No stats Reply with quote

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?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group