I have an issue with data queries.
Basically I have an index a.b.c.d.e.f (there are 13 index numbers here I have shortened for ease of reading!!)
One of the things I would like to do is find out the Access point from which this SSID (which is what the index refers to) is on. The index of the access point is the first part of the index of the SSID ie: a.b.c.
Is there any way in the query of donig this??
I have the following so far...
Code:
<interface>
<name>Aruba OS AP Info</name>
<description>Queries an Aruba controller for AP Information</description>
<oid_index>.1.3.6.1.4.1.14823.2.2.1.5.2.1.7.1</oid_index>
<oid_index_parse>OID/REGEXP:^.*\.([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)$</oid_index_parse>
<index_order_type>numeric</index_order_type>
<fields>
<apName>
<name>AP Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid_index_parse>OID/REGEXP:^.*\.([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$</oid_index_parse>
<oid>.1.3.6.1.4.1.14823.2.2.1.5.2.1.4.1.3</oid>
</apName>
<apSSID>
<name>SSID</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.14823.2.2.1.5.2.1.7.1.2</oid>
</apSSID>
<apNumStations>
<name>Connected Stations</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.14823.2.2.1.5.2.1.7.1.12</oid>
</apNumStations>
</fields>
</interface>
The above gives me a list of SSIDs then the list of the AP names after without matching them up as if it is creating a new index for the apName field.
Any ideas?
Many thanks
James