Hello,
I'm writing a XML SNMP_Queries for cacti.
I've a little problem while doing it. Objects aren't indexed on one index but on 2 indexes.
So, each Object is identified by the couple index1 & index2.....
How is it possible to handle a SNMP_Queries with 2 indexes?
Is it possible to concatenate both indexes into one? Or to create a virtual index ?
Does anyone have a solution to handle this ?
thx.
XML SNMP Queries & Multiple Index
Moderators: Developers, Moderators
Re: XML SNMP Queries & Multiple Index
Hello guys,
I have the same problem...
Does someone have a solution for this ?
Thanks !
I have the same problem...
Does someone have a solution for this ?
Thanks !
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: XML SNMP Queries & Multiple Index
Sure; te magic word is "OID/REGEXP". By forming an appropriate regexp, you will be able to parse a string (e.g. <index 1>.<index 2>) out of an OID and use this for indexing the XML fields.
There have been threads regarding multi-level indexing that may help
R.
There have been threads regarding multi-level indexing that may help
R.
Who is online
Users browsing this forum: No registered users and 8 guests