From 8404eef42e79a1cdefe7eaa665cbf54d910d1217 Mon Sep 17 00:00:00 2001 From: barryodonovan Date: Fri, 24 Mar 2017 20:54:11 +0000 Subject: [PATCH] newdevice: Added Rx levels on Ubiquiti Airfibre (#6160) * poll and graph Rx levels * some final(?) changes --- .../device/ubnt_airfiber_RxPower.inc.php | 21 +++++++++++++++ includes/definitions/airos-af.yaml | 2 +- .../polling/mib/ubnt-airfiber-mib.inc.php | 27 +++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 html/includes/graphs/device/ubnt_airfiber_RxPower.inc.php diff --git a/html/includes/graphs/device/ubnt_airfiber_RxPower.inc.php b/html/includes/graphs/device/ubnt_airfiber_RxPower.inc.php new file mode 100644 index 0000000000..6a80c781a9 --- /dev/null +++ b/html/includes/graphs/device/ubnt_airfiber_RxPower.inc.php @@ -0,0 +1,21 @@ + array( + '1', + 'rxPower0', + 'Rx Chain0 Power', + 'GAUGE', + ), + 'rxPower1' => array( + '1', + 'rxPower1', + 'Rx Chain1 Power', + 'GAUGE', + ), +); + +$mib_graphs = array( + 'ubnt_airfiber_RxPower', +); + +unset($graph, $oids, $oid); + +poll_mib_def($device, 'UBNT-AirFIBER-MIB:UBNT', 'ubiquiti', $mib_oids, $mib_graphs, $graphs, 'ubnt-airfibre-mib-rx'); + // EOF