two MIBs in template

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
stevent
Posts: 2
Joined: Thu Sep 24, 2009 6:48 pm

two MIBs in template

Post by stevent »

I am only just starting with Cacti and I have a small problem with some Brocade Fibre switches.
The default interface.xml with the 64bit counters is perfect for all the data I wish to graph but the switch does not support the 'ifalias' OID '.1.3.6.1.2.1.31.1.1.1.18' so I cannot get the port names on the graphs.
It does have an OID that gives the name but is from a different MIB '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36'.
I have tried to substitute the different OID but it is not recognized as it is not in the oid_index.

Is it possible to use two MIBs in the one template file?
Or how can I get this one extra OID to collect the names?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: two MIBs in template

Post by gandalf »

stevent wrote:It does have an OID that gives the name but is from a different MIB '.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36'.
I have tried to substitute the different OID but it is not recognized as it is not in the oid_index.
It is not required to have the same OID base. It is only recommended, that "your" oid, suffixed with the given XML index, gives the complete OID to retrieve the "Alias".
You may have noticed, that even plain interface.xml uses two different "base" MIBs.
Reinhard
stevent
Posts: 2
Joined: Thu Sep 24, 2009 6:48 pm

Post by stevent »

Thanks Reinhard,
I still do not get the information correctly when I try to create new graphs.
I get double the number of rows with one set only showing the 'alias' and another set of rows with the other data.
Is there a way to get the alias with the other data?

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

Post by gandalf »

I can't answer this from remote. Please see http://docs.cacti.net/manual:087:3a_adv ... alkthrough for a step-by-step procedure
Reinhard
User avatar
Kenny
Posts: 15
Joined: Wed Oct 13, 2004 6:58 am

Post by Kenny »

I don't know if this is the correct place to put this, but I have a similar problem/issue. For a Juniper firewall i am graphing the subinterfaces with the template from http://forums.cacti.net/about11064.html. The thing is, this Juniper is configured with VSYS-es and I am looking for a way to get the VSYS-name in the graphs.

For example the OID to tell me to which VSYS it belongs is
.1.3.6.1.4.1.3224.9.1.1.3.7 = INTEGER: 2
(where 7 is the 7th interface from the list)

and the translation of this "2" is at OIDs
.1.3.6.1.4.1.3224.15.1.1.1.1.2 = INTEGER: 2
and
.1.3.6.1.4.1.3224.15.1.1.1.2.2 = STRING: "VSYS2"

So what am want to achieve is to include this VSYS-info in the data-query for the Netscreen sub-interfaces.

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

Post by gandalf »

Yes.
When creating an XML file, you may use different OID "bases" for each field. See the interface.xml file as an example
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests