[Check_mk (english)] Patch for aironet checks to support AIR-AP1231G-E-K9 & others

Hello,

The checks aironet_clients and aironet_errors are missing some access
point models, at least AIR-AP1231G-E-K9 which we have. To fix this, the
scan function just needs to check for 1.3.6.1.4.1.9.1.525 in addition to
the existing value. I googled this value and found an interesting table:
https://www.cisco.com/en/US/docs/wireless/wlse/2/supported/devices/table/wlsesdt.html so this oid should add support for Aironet 1210 and 1230 series but I can only vouch for the model I mentioned. Trivial patches attached.

PS: Did anyone see my previous mail regarding snmp performance? I
believe it could be a useful optimization.

Regards,
Tiago Sousa
Universidade de �vora - Portugal

aironet_clients-AIR-AP1231G-E-K9.patch (468 Bytes)

aironet_errors-AIR-AP1231G-E-K9.patch (460 Bytes)

Replying to myself :slight_smile: but found more models with different oids:
AIR-AP1252AG-E-K9 with .1.3.6.1.4.1.9.1.758 which is for the 1250
series, and AIR-AP1262N-E-K9 with .1.3.6.1.4.1.9.1.1247, so here are
updated patches. Obviously Cisco likes to change this a lot so expect
more in the future. This was useful:

I wonder if there is a more generic oid to scan for?

aironet_clients-1210-1230-1250-1260.patch (652 Bytes)

aironet_errors-1210-1230-1250-1260.patch (644 Bytes)

···

On Wed, 2012-05-09 at 12:03 +0100, Tiago Sousa wrote:

Hello,

The checks aironet_clients and aironet_errors are missing some access
point models, at least AIR-AP1231G-E-K9 which we have. To fix this, the
scan function just needs to check for 1.3.6.1.4.1.9.1.525 in addition to
the existing value. I googled this value and found an interesting table:
https://www.cisco.com/en/US/docs/wireless/wlse/2/supported/devices/table/wlsesdt.html so this oid should add support for Aironet 1210 and 1230 series but I can only vouch for the model I mentioned. Trivial patches attached.

PS: Did anyone see my previous mail regarding snmp performance? I
believe it could be a useful optimization.

Regards,
Tiago Sousa
Universidade de �vora - Portugal

Hi Tiago,

thanks for your mail. I've fixed this in the main line.

Mathias

···

Am 09.05.2012 14:56, schrieb Tiago Sousa:

  oid(".1.3.6.1.2.1.1.2.0") == ".1.3.6.1.4.1.9.1.525" or \
+ oid(".1.3.6.1.2.1.1.2.0") == ".1.3.6.1.4.1.9.1.758" or \
+ oid(".1.3.6.1.2.1.1.2.0") == ".1.3.6.1.4.1.9.1.1247"