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 catOS host template
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
adesimone
Guest





PostPosted: Thu Jul 15, 2004 11:32 am    Post subject: Cisco catOS host template Reply with quote

host template with -

- cpu
- memory
- backplane usage

- interface

This *only* works for catOS switches

Exported with cacti 8.5a / PHP 4.3.2 and cactihistoric



cacti_host_template_cisco_catos_switch.xml
 Description:

Download
 Filename:  cacti_host_template_cisco_catos_switch.xml
 Filesize:  133.53 KB
 Downloaded:  5781 Time(s)

Back to top
Alberto Rueda
Guest





PostPosted: Tue Jul 20, 2004 3:44 pm    Post subject: Catalyst XML Reply with quote

Ho do you install it ?? could you provide a step by step guide ??? I am kind of new with cacti.

Thanks,
Back to top
Guest






PostPosted: Tue Jul 27, 2004 10:28 am    Post subject: Reply with quote

Great job man! Everything works great!
Back to top
TheWitness
Developer


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

PostPosted: Tue Jul 27, 2004 4:57 pm    Post subject: Reply with quote

Does this support multiple supervisors? Does it support portname?

TheWitness
Back to top
TheWitness
Developer


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

PostPosted: Tue Jul 27, 2004 5:16 pm    Post subject: Reply with quote

Answered all my own questions. Note: Cisco Cactalyst switches with dual supervisors will not report interfaces properly using the standard Interface.xml file. I am looking at a custom Interface.xml file that will address not only the problem with incorrect Indexes, but will also provide PortName's.

Sorry for the bad news. Otherwise, great job!!!

TheWitness
Back to top
Xanathar



Joined: 10 Aug 2004
Posts: 1

PostPosted: Thu Aug 12, 2004 9:36 am    Post subject: Reply with quote

Was an updated template that worked with dual supervisors ever posted somewhere?
Back to top
TheWitness
Developer


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

PostPosted: Thu Aug 12, 2004 11:37 am    Post subject: Reply with quote

It works with dual supervisors. My bad. However, when I attempted to integrate "PortNames" into the template, it did not work. Therefore, all is Ok for now. Portnames to come.

TheWitness
Back to top
Basilio Cat



Joined: 12 Sep 2004
Posts: 25

PostPosted: Mon Sep 13, 2004 10:26 am    Post subject: Reply with quote

I've found that CatOS doesn't use ifIndex for getting port names, you need port number instead =(

http://cvs.netmrg.net/index.cgi/src/mappings.cpp?rev=1.7
See code near "// use CatOS port name in place of ifAlias"
Back to top
luckyeraser



Joined: 29 Aug 2004
Posts: 22

PostPosted: Wed Mar 09, 2005 8:29 pm    Post subject: Reply with quote

News regarding Portnames on CatOS ?
Back to top
TheWitness
Developer


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

PostPosted: Wed Mar 09, 2005 8:37 pm    Post subject: Reply with quote

There was a new feature released in 0.8.6c that will allow the creation of the PortName and Catalyst template. I just don't have time to write it.

Sorry,

TheWitness
Back to top
cgoodness



Joined: 11 Mar 2005
Posts: 1

PostPosted: Tue Mar 15, 2005 10:23 am    Post subject: New to this forum... Reply with quote

I'll have to apogize in advance, i'm new to cacti and to this forum, but am very interested in getting this XML import to work. Could someone briefly detail just how to import this XML and what to do after it's imported? Sorry if this is a review.

C.
Back to top
ssams
Cacti User


Joined: 01 Feb 2005
Posts: 65
Location: Texas

PostPosted: Fri Mar 18, 2005 2:36 pm    Post subject: Reply with quote

has anyone gotten this going? i made a copy of my interfaces.xml and modified the ifindex to portname and changed the oid. when i use this and do a verbose query i see the the info correct. when i add the devices i get the interfaces and see the portnames however they don't match the actual port that they belong to. is there a fix for this?


thanks
Back to top
dgamble
Cacti User


Joined: 08 Mar 2005
Posts: 68
Location: Calgary, AB, CA

PostPosted: Fri Apr 08, 2005 2:57 pm    Post subject: portName Reply with quote

If someone could give me pointers on setting this up, I would gladly make a XML file/template that would do this and upload it.

I can see that the portNames are under .1.3.6.1.4.1.9.5.1.4.1.1.4, but they appear to be indexed differently, using their interface numbers instead. So if one could somehow get the interface name, sub the /'s out for a dots, and then add that onto this OID, that would give you the portName. Not sure how/if this could be done, or if there is another way to do it.
Back to top
dgamble
Cacti User


Joined: 08 Mar 2005
Posts: 68
Location: Calgary, AB, CA

PostPosted: Fri Apr 08, 2005 5:01 pm    Post subject: Can't make a template... Reply with quote

Well, after poring over the documentation for a bit, I just don't see how it's possible to integrate this into a query that can get the traffic goodies out of the IF-MIB table. The indexes are different than the IF-MIC indexes, unfortunately, and aren't stored in the OID or anything.

Perhaps someone can think of something I'm missing!
Back to top
rwintle



Joined: 29 Aug 2004
Posts: 7

PostPosted: Sun May 01, 2005 12:36 pm    Post subject: CatOS MIB info Reply with quote

When you walk .1.3.6.1.4.1.9.5.1.4.1.1.4 the switch returns the names for each port. The reason the indexs do not match up is that the switch uses slot and port for the index in .1.3.6.1.4.1.9.5.1.4.1.1.4.

Example:

.1.3.6.1.4.1.9.5.1.4.1.1.4.3.39 is the portname for slot 3 port 39.

Does this help? I hope someone can help create a template now so we can get these descriptions working!

Thanks,

--Rod
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, 3  Next
Page 1 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group