mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
committed by
Tony Murray
parent
ed78ce4a23
commit
5184ce01ad
@@ -12,4 +12,3 @@ discovery:
|
||||
- '/^Cambium PTP 50650/'
|
||||
- '/^PTP250/'
|
||||
- '/^Cambium/'
|
||||
|
||||
|
@@ -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"));
|
||||
|
Reference in New Issue
Block a user