aboutsummaryrefslogtreecommitdiffstats
path: root/ubnt_unifi.php
diff options
context:
space:
mode:
authorM.Gergő2018-09-18 10:24:22 +0200
committerM.Gergő2018-09-18 10:24:22 +0200
commitf4c15053b36caf047ec69bcb18f8ccb0fe333803 (patch)
tree0ae09f3aaf9a2424dd91e6ba77d046618e566aaf /ubnt_unifi.php
parentead267bcbfc73d15ee58819b0fba8b392333e9f3 (diff)
downloadmunin-unifi-f4c15053b36caf047ec69bcb18f8ccb0fe333803.tar.gz
munin-unifi-f4c15053b36caf047ec69bcb18f8ccb0fe333803.zip
Munin monitoring script of Ubiquiti Unifi Wireless network.
Diffstat (limited to 'ubnt_unifi.php')
-rw-r--r--ubnt_unifi.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ubnt_unifi.php b/ubnt_unifi.php
index aa4c315..12ba5f1 100644
--- a/ubnt_unifi.php
+++ b/ubnt_unifi.php
@@ -1,11 +1,12 @@
#!/usr/bin/php
<?php
-// Munin monitoring plugin for Ubiquity Unifi AP system.
+// Munin monitoring plugin for Ubiquiti Unifi AP system.
//$controller = "unifi.company.com";
//$hosts = "ap01.wireless.company.lan ap02.wireless.company.lan ap03.wireless.company.lan ap04.wireless.company.lan";
+
$controller = getenv('controller');
$hosts = getenv('devices');
$timeout = getenv('timeout');