Cisco 6500 switche template

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

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You will have to Import Templates from the above
Reinhard
pele
Posts: 6
Joined: Fri Oct 20, 2006 11:40 am

Post by pele »

Thanks for the quick reply.

Starting from the Console: Import/Export -- Browse -- (location of 6500 switch template) -- save

I get the following feedback:

Code: Select all

 Cacti has imported the following items:
 
 Round Robin Archive
 [success] Daily (5 Minute Average) [update]
 [success] Weekly (30 Minute Average) [update]
 [success] Monthly (2 Hour Average) [update]
 [success] Yearly (1 Day Average) [update]
 
 GPRINT Preset 
 [success] Normal [update]
 [success] Exact Numbers [update] 

 Data Input Method
 [success] Get SNMP Data [update]
 
 Data Template
 [success] Cisco Router - 5 Minute Memory Free [update]
 [success] Cisco Router - 5 Minute Memory Used [update]
 [success] Cisco Catalyst - 5 Minute CPU [update]
  
 Graph Template
 [success] 2 Cisco - Memory Usage [update]
 [success] 1 Cisco Catalyst - CPU Usage [update] 

 Host Template
 [success] Cisco - 6500 [update]
 
 
---------------------------------------------------------------
Should this be everything needed for the template to pull data?

Just to make sure I'm not missing any variables, I go to Data Templates and have tried to replace the SNMPcommunity variable along with the SNMP IP address variable.

I still get notta nothing :(

Should I verfiy the MIB?
[/code]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

No. Importing Templates was ok, changing them was not that good of an idea :oops: Please re-create or re-import.
You'll have to apply the Graph Template/Data Query to a host, as usual. Then "Create Graphs for this Host", select the new ones and go
Reinhard
pele
Posts: 6
Joined: Fri Oct 20, 2006 11:40 am

Post by pele »

Starting from scratch here is the process I take to add the template:

1) Import/Export 6500-template
2) Go to Data Templates to verify new templates - (I see the new templates)
3) Go to Host Templates and see Cisco 6500
4) Within Cisco 6500 Host Template I have:
Associated Graph Templates
* 1 Cisco - CPU Usage
* 2 Cisco - Memory Usage
* 3 Cisco - Temperature
* 4 Cisco Catalyst - Sys Traffic Usage Peak

Associated Data Queries
* SNMP - Interface Statistics
5) Go to Graph Templates to verfiy new templates. I see these new graphs
* 1 Cisco - Memory Usage
* 2 Cisco - Temperature
* 3 Cisco Catalyst - Sys Traffic Usage Peak
6) Go to Devices
7) Select my 6500 Switch, which is currently receiving interface statistics
8) Add the following to Associated Graph Templates
* 1 Cisco - CPU Usage
* 2 Cisco - Memory Usage
* 3 Cisco - Temperature
9) Verify Associated Data Queries within Devices. I get the following:
* SNMP - Get Processor Information Success [0 Items, 0 Rows] * SNMP - Interface Statistics Success [2905 Items, 363 Rows]
10) Select Create Graphs For this Host
11) Check the check boxes for the following:
* Create: 1 Cisco - CPU Usage
* Create: 2 Cisco - Memory Usage
* Create: 3 Cisco - Temperature
* Create: 4 Cisco Catalyst - Sys Traffic Usage Peak
12) After creation I get the following feedback:

Code: Select all

+ Created graph: 6513 Switch - CPU Usage
+ Created graph: 6513 Switch - Memory Usage
+ Created graph: 6513 Switch - Temperature
+ Created graph: 6513 Switch - Sys Traffic Usage Peak
13) Move to Data Sources to verify the graphs are active. The following new graphs are shown as active with Data Input Method - Get SNMP Data:
* 6513 Switch - 5 Minute CPU
* 6513 Switch - 5 Minute Memory Free
* 6513 Switch - 5 Minute Memory Used
* 6513 Switch - 5 Minute Temperature
* 6513 Switch - Systraffic Peak
* 6513 Switch - Temperature Threshold
14) Go to Graph Trees
15) Add new Header - Cisco Health
16) Add the following new graphs to Cisco Health header
6513 Switch - CPU Usage
6513 Switch - Memory Usage
6513 Switch - Sys Traffic Usage Peak
6513 Switch - Temperature
17) Go to Graph Management to verify new graphs (new graphs seen)
18) Hopefully enjoy my new graphs of CPU, Memory, Temperature, and Traffic.
19)Go to Graphs to view new graphs


I get the graphs, but no data :(

Where is my flaw?
pele
Posts: 6
Joined: Fri Oct 20, 2006 11:40 am

Post by pele »

It's been awhile and I'm still not getting these stats, but would really really like to. Any ideas? Possibly as far as me not enabling the snmp's on the correct interface of the switch?
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

So....everything is working for me with the exception of temp - anyone have the OID for that?

<I haven't found one that works for this switch on Cisco's site or searching the SNMP walk>
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Also, isn't there an OID for *current* backplane load/traffic? This template appears to be looking at the last high load - or, highest load since counters were last cleared.

What about 1.3.6.1.4.1.9.5.1.1.8 ??
lmgoodbu
Posts: 15
Joined: Tue Jan 02, 2007 8:57 am
Location: Charlotte, NC

Cisco Catalyst ifAlias

Post by lmgoodbu »

I have seen previous posts that talk about the problem with Catalyst and capturing the ifAlias.

Has anyone created a Cacti template that can pull the ifAlias field into Cacti (using the module and port numbers)?

Thanks.
Laura
treimers
Cacti User
Posts: 57
Joined: Thu Mar 17, 2005 9:53 pm

IfAlias when running IOS

Post by treimers »

I'm noticing that people are discussing problems getting interface descriptions when running CatOS.

But I'm running IOS, and I have interface descriptions.
And not seeing them reflected in graphs using this template.

Is ifAlias in CatOS the same thing as interface description in IOS??

If so, how do I get my graphs to use the interface description in the graph title??

because it sounds like it should work, at least in IOS.
tommyj
Posts: 43
Joined: Thu Jun 23, 2005 5:16 pm
Location: Stockholm, Sweden

Re: IfAlias when running IOS

Post by tommyj »

treimers wrote:I'm noticing that people are discussing problems getting interface descriptions when running CatOS.

But I'm running IOS, and I have interface descriptions.
And not seeing them reflected in graphs using this template.

Is ifAlias in CatOS the same thing as interface description in IOS??

If so, how do I get my graphs to use the interface description in the graph title??

because it sounds like it should work, at least in IOS.
Go to Graph Management, select the device you want to add the interface description. click on the interface you want to add it.

On the title field you add something like - |query_ifAlias| I.E it should look like:

Code: Select all

|host_description| - Traffic - |query_ifName| - |query_ifAlias|
gigglesworth
Posts: 24
Joined: Wed Jan 25, 2006 12:51 pm

Cisco CatOS: Port Name (ifAlias) in Cacti?

Post by gigglesworth »

Has anyone created a Cacti template that can pull the ifAlias field into Cacti (using the module and port numbers)?
I thought I would check in on this.

Has anyone come up with a way to automatically find the Port's name with SNMP or Cacti?

Within CatOS, I set the name using 'set port name <mod/port> <name>. I can't figure out how to get the <name> value via SNMP/Cacti.
ibrahim
Posts: 27
Joined: Tue May 27, 2008 1:28 pm

Post by ibrahim »

does this template work for switch cisco 3560 .
????
thx
greginmadison
Posts: 30
Joined: Fri Mar 07, 2008 8:58 am

switch cisco 3560? Uses IOS not CatOS

Post by greginmadison »

THe cisco 3560 uses IOS not CatOS. So the standard Cisco Host template working out of the box, you don't need this template.
gigglesworth
Posts: 24
Joined: Wed Jan 25, 2006 12:51 pm

Re: Cisco CatOS: Port Name (ifAlias) in Cacti?

Post by gigglesworth »

gigglesworth wrote: Has anyone come up with a way to automatically find the Port's name with SNMP or Cacti?
Answering my own question.

From what I've read in these forums, it is very difficult to automatically determine the Port's name, because CatOS stores this information in a strange way.

Since CatOS is falling out of favor, I doubt this feature will ever be available.
disH
Posts: 33
Joined: Thu May 22, 2008 2:09 am

Re: Cisco CatOS: Port Name (ifAlias) in Cacti?

Post by disH »

gigglesworth wrote:
gigglesworth wrote: Has anyone come up with a way to automatically find the Port's name with SNMP or Cacti?
Answering my own question.

From what I've read in these forums, it is very difficult to automatically determine the Port's name, because CatOS stores this information in a strange way.

Since CatOS is falling out of favor, I doubt this feature will ever be available.
Mine works ok :)
I dont remember the link.. but i got these files off this forum.
ok ill attach the files

I use alot of 4506's with CatOS and this works 100%


*edit
Cisco 6500 switche template is the original url for the script.
Cisco catOS host template is another

*copy of post*
REALLY crazy on cpu, it kicks my cpu load from my normal 0.3-0.7 to 4.x-8.x on average! This happeneds when checking on my 2 core switches. Not sure what the problem is but the whole system becomes almost unusable.
I removed a few of the graphs to test for improvement and it became a little better but now with i think 10 graphs is shouldnt be too much.
Infact its almost impossible to access my machine if its graphing my core sw's.

Interesting thing about it.. i never knew how far linux's cpu load can go.
Now i know it can easily go above 8

Is ther anyone else with this problem?
Attachments
making my graphs, all info is there
making my graphs, all info is there
CatOS.JPG (114.2 KiB) Viewed 20538 times
My new graphs with port#-portdescr inside of the graph
My new graphs with port#-portdescr inside of the graph
CatOS2.JPG (95.53 KiB) Viewed 20538 times
catOs-cacti.zip
scripts
(18 KiB) Downloaded 1028 times
[url=http://forums.cacti.net/viewtopic.php?t=4356]Template: Cisco CatOS[/url]
[url=http://forums.cacti.net/viewtopic.php?t=21785]Mactrack: Netscreen Fw[/url]
[b]_______________[/b]
[b]Cacti Version[/b] - 0.8.7e, [b]Plugin Architecture[/b] - 2.5, [b]Poller Type[/b] - Cact-Spine 0.8.7e
[b]Server Info[/b] - Ubuntu Server 8.10 (2.6.27-7-server), [b]Web Server[/b] - Apache/2.2.9 PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch
[b]PHP[/b] - 5.2.6-2ubuntu4.3, [b]MySQL[/b] - 5.0.67-0ubuntu6-log, [b]RRDTool[/b] - 1.3.1, [b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Thresholds v0.4.1, Login Mod v1.0, Host Info v0.2
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest