Cisco Aironet Clients Plugin

How To

First add username and password to AP in /opt/monitor/etc/resources.cfg

In the example (and as in demo) $USER10$=username $USER24$=password

Add command:

command_name: check_cisco_aironet_clients_custom
command_line: $USER1$/custom/check_cisco_aironet_clients.pl -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -C -w $ARG3$ -c $ARG4$ 2>/dev/null

Add service:

service_description: Connected Clients
check_command: check_cisco_aironet_clients_custom
check_command_args: $USER10$!$USER24$

Of course you can add the user defined macros to the actual command_line but to be flexible add as arg if you won't need to hide this information. Another option is to add as a custom variable to the host-definition as well. Up to you!

Will require additional perl-modules, i needed to install:

#yum localinstall perl-Net-MAC-1.4-1.el5.rf.noarch.rpm --nogpgcheck
#yum localinstall perl-Net-Telnet-Cisco-1.10-3.el5.noarch.rpm --enablerepo=* --nogpgcheck

Example in our demo: https://demo.op5.com/monitor/index.php/extinfo/details/service?host=ap01-sth&service=Connected+Clients