oid_index and oid_num_indexes in .xml for new data queries

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

Moderators: Developers, Moderators

Post Reply
luca
Posts: 1
Joined: Sat Nov 20, 2010 7:15 am

oid_index and oid_num_indexes in .xml for new data queries

Post by luca »

Hi, I want to build some graphs using both IF-MIB and RMON-MIB but i can't understand some fileds in the .xml for data query: looking interface.xml and other examples like this one i can't figured out what i should write in <oid_index> and <oid_num_indexes>
If I have something like this

Code: Select all

<ifIndex>
	<name>Index</name>
	<method>walk</method>
	<source>value</source>
	<direction>input</direction>
	<oid>.1.3.6.1.2.1.2.2.1.1</oid>
</ifIndex>
...
<etherStatsIndex>
	<name>Index</name>
	<method>walk</method>
	<source>value</source>
	<direction>output</direction>
	<oid>.1.3.6.1.2.1.16.1.1.1.1</oid>
</etherStatsIndex>
...
Should I use

Code: Select all

<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
or

Code: Select all

<oid_index>.1.3.6.1.2.1.16.1.1.1.1</oid_index>
?

And the <oid_num_indexes> should be

Code: Select all

<oid_num_indexes>.1.3.6.1.2.1.2.1.0</oid_num_indexes>
because it gives me the number of interfaces?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: oid_index and oid_num_indexes in .xml for new data queri

Post by gandalf »

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests