Cambium ePMP sysDescr (#5859)

* Changed cambium poller to get sysDescr and sysObjectID from poll_device array.

* missing newline

* overgraph for registered SMs makes no sense if device not AP
This commit is contained in:
barryodonovan
2017-02-10 17:36:12 +00:00
committed by Tony Murray
parent ed78ce4a23
commit 5184ce01ad
2 changed files with 2 additions and 3 deletions

View File

@@ -12,4 +12,3 @@ discovery:
- '/^Cambium PTP 50650/'
- '/^PTP250/'
- '/^Cambium/'

View File

@@ -9,8 +9,8 @@
* the source code distribution for details.
*/
$cambium_type = snmp_get($device, 'sysDescr.0', '-Oqv', '');
$is_epmp = snmp_get($device, 'sysObjectID.0', '-Oqv', '');
$cambium_type = $poll_device['sysDescr'];
$is_epmp = $poll_device['sysObjectID'];
$version = $cambium_type;
if (strstr($cambium_type, 'Cambium PTP 50650')) {
$masterSlaveMode = ucfirst(snmp_get($device, 'masterSlaveMode.0', '-Oqv', "CAMBIUM-PTP650-MIB"));