I am trying to create a simple XML query so I can graph the Dot11Radio associations on a Cisco AP. YES I already searched the forum and there is already a thread about graphing the associations, but it's a single OID only (non-indexed). This only presents half the information when your company is using both 802.11a AND 802.11g radios.
I tried using this XML...
Code: Select all
<interface>
<name>Get dot11associations</name>
<description>Get SNMP based Association information from Cisco AP1200</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.9.9.273.1.1.2.1.1</oid_index>
<fields>
<dot11Radio0assoc>
<name>Dot11Radio0 Associations</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9.9.273.1.1.2.1.1.1</oid>
</dot11Radio0assoc>
<dot11Radio1assoc>
<name>Dot11Radio1 Associations</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9.9.273.1.1.2.1.1.2</oid>
</dot11Radio1assoc>
</fields>
</interface>
This is the snmpwalk of the device index I am trying to graph:
Code: Select all
dougm@cacti:~> snmpwalk -v 2c -c <community> 10.13.x.x .1.3.6.1.4.1.9.9.273.1.1.2.1.1
SNMPv2-SMI::enterprises.9.9.273.1.1.2.1.1.1 = Gauge32: 3
SNMPv2-SMI::enterprises.9.9.273.1.1.2.1.1.2 = Gauge32: 1
.1.3.6.1.4.1.9.9.273.1.1.2.1.1.1 Dot11Radio0 (802.11g) Association Count
.1.3.6.1.4.1.9.9.273.1.1.2.1.1.2 Dot11Radio1 (802.11a) Association Count
These OIDs are the same on all of our Cisco AP devices. They show the number of wireless users associated with each radio. Can someone tell me what I'm doing wrong. Thanks!