Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_unifi.php

Rating
0 votes
Favoured:
0
Current Version
1.20200814
Compatible With
  • Nagios 4.x
License
MIT
Hits
653
Files:
FileDescription
check_unifi.zipcheck_unifi.zip
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_unifi.php
You can check a Unifi Controller (Accesspoints and Switch).
Thanks to https://github.com/Art-of-WiFi

Settings of the controller are made in the file config.php
Please check the include path off config.php and Client.php in check_unifi.php.


Aufruf: /usr/bin/php check_unifi [mode] [Accesspoint] [Warning] [Critical]
mode:
controller = Controller Version
clients_wifi = Liste aller Wifi Clients mit Verbindungsgeschwindigkeit
clients_name + Accesspoint = Liste Anzahlclients mit Clientsname eines Accesspoints
clients + Accesspoint = Liste Anzahlclients eines Accesspoints
uptime + Accesspoint = Uptime eines Accesspoints mit Angabe der Firmware
uplink + Accesspoint warn crit = Uplink mit Angabe der Uplink Geschwindigkeit und Warnung/Kritischer Werte des Uplink
mem + Accesspoint warn crit = Memory Usage Accespoint und Warnung/Kritischer Prozentwert
cpu + Accesspoint = CPU Usage Accespoint

Beispiele
/usr/bin/php check_unifi clients_name AP01
OK - Clients: 2 - TABLETT01 PHONE01 | Clients=2

/usr/bin/php check_unifi uplink AP02 200 100
WARNING - Uplink: AP01 signal=-66% tx_rate=121.5 Mbps rx_rate=526.5 Mbps | tx_rate=121.5;rx_rate=526.5