Universal AP Status check
Universial AP status for Icinga2
Newest version uses historcal files to track Cisco AP's that dissasociate when they lose their heartbeat to the controller.
About: Check plugin for Nagios/Icinga2 to check the status of AP's by using SNMP OID's. This script doesn't have any OID's inorder to make it universal. Warning and critical levels are in percentages. So you'll get a warning if 10% of the AP's are down as an example.
Notes: Change line 26 to change where the AP-status tracker files are stored. These files keep track of Cisco AP's that may dissassociate for 20 days. Default is '/usr/share/ap-status/'. Currently it's /usr/share/ap-status/ .
Usage: check_ap_status.pl -H [host] -C [community] -c [critical threshold] -w [warning threshold] -O [ap ip oid] -o [ap name oid]
Outputs 'Up', 'Down', and 'Total' perfdata.
Cisco 5508 example: check_ap_status.pl -H 192.168.0.2 -C public -O .126.96.36.199.4.1.14188.8.131.52.1.28 -c 25 -o .184.108.40.206.4.1.14220.127.116.11.1.3 -w 10