I have a set of OID's that have the index in the middle of the oid, rather then the end: example:
the index is .1.3.6.1.4.1.4641.4.1.1.1.2.1.2.(something)
an example would be :
.1.3.6.1.4.1.4641.4.1.1.1.2.1.2.13 = STRING: "congested"
To collect stats on this item, the input and output are as follows:
.1.3.6.1.4.1.4641.4.2.1.1.2.1.14.1.13.1.2.1.2 = Counter64: 45124
.1.3.6.1.4.1.4641.4.2.1.1.2.1.14.1.13.2.1.2.1 = Counter64: 658645
The 13 is the index and is inserted into the oid to get the stats for the items, inbound being 1.2.1.2 and outbound being 2.1.2.1.
Currenlty I have an XML query that is able to get a list of the items and now I want to collect stats from them but I could not find anything on the forum on inserting the index value into the oid. Is this possible?
Insert index into OID for xml query
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
AFAIK no, as the index is always appended to the fields OID (that's why it is called an index). But there are some very "creative" snmp implementors out there in the wild ...
You may want to build a script data query, where you can do what you want, see http://docs.cacti.net/node/284 for a walkthrough
Reinhard
You may want to build a script data query, where you can do what you want, see http://docs.cacti.net/node/284 for a walkthrough
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest