mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Correct snmp_get of sysDescr.0 to identify PMP450 as AP (#5849)
This commit is contained in:
committed by
Neil Lathwood
parent
fd7cf79c72
commit
4397ed4a72
@@ -9,6 +9,8 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$scale_min = 0;
|
||||
|
||||
require 'includes/graphs/common.inc.php';
|
||||
$rrdfilename = rrd_name($device['hostname'], 'canopy-generic-regCount');
|
||||
if (file_exists($rrdfilename)) {
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$scale_min = 0;
|
||||
|
||||
require 'includes/graphs/common.inc.php';
|
||||
$rrdfilename = rrd_name($device['hostname'], 'canopy-generic-whispGPSStats');
|
||||
if (file_exists($rrdfilename)) {
|
||||
|
||||
@@ -4,6 +4,7 @@ type: wireless
|
||||
icon: cambium
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_canopy_generic_regCount, text: 'Registered SMs' }
|
||||
group: cambium
|
||||
discovery:
|
||||
- sysDescr_regex:
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$cambium_type = snmp_get($device, 'sysDescr.0', '-Oqv', '');
|
||||
$cambium_type = $poll_device['sysDescr'];
|
||||
$PMP = snmp_get($device, 'boxDeviceType.0', '-Oqv', 'WHISP-BOX-MIBV2-MIB');
|
||||
$version = $cambium_type;
|
||||
$filtered_words = array(
|
||||
|
||||
Reference in New Issue
Block a user