mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Sensors, convert hex to strings (#14121)
* Sensors, convert hex to strings * Fix clickshare, it actually was returning hex * update hpe-mapdu * skip ict-mps sensors without valid values
This commit is contained in:
@@ -296,9 +296,9 @@ class YamlDiscovery
|
||||
if (isset($data['snmp_flags'])) {
|
||||
$snmp_flag = Arr::wrap($data['snmp_flags']);
|
||||
} elseif (Str::contains($oid, '::')) {
|
||||
$snmp_flag = ['-OteQUS'];
|
||||
$snmp_flag = ['-OteQUSa'];
|
||||
} else {
|
||||
$snmp_flag = ['-OteQUs'];
|
||||
$snmp_flag = ['-OteQUsa'];
|
||||
}
|
||||
$snmp_flag[] = '-Ih';
|
||||
|
||||
|
Reference in New Issue
Block a user