From 81cb935735e107eb62f927828de2c5b70dd8dab4 Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Thu, 14 Jan 2016 20:09:18 +0100 Subject: [PATCH] Added polling of wifi clients for HP MSM --- includes/polling/wifi.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/polling/wifi.inc.php b/includes/polling/wifi.inc.php index 73d9c693e..30803f2a1 100644 --- a/includes/polling/wifi.inc.php +++ b/includes/polling/wifi.inc.php @@ -43,6 +43,12 @@ if ($device['type'] == 'network' || $device['type'] == 'firewall' || $device['ty echo (($wificlients1 + 0).' clients on dot11Radio0, '.($wificlients2 + 0)." clients on dot11Radio1\n"); } + if ($device['os'] == 'hpmsm') { + echo 'Checking HP MSM Wireless clients... '; + $wificlients1 = snmp_get($device, '.1.3.6.1.4.1.8744.5.25.1.7.2.0', '-OUqnv'); + echo $wificlients1." clients\n"; + } + // MikroTik RouterOS if ($device['os'] == 'routeros') { // Check inventory for wireless card in device. Valid types be here: