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:
Tony Murray
2022-07-22 07:59:41 -05:00
committed by GitHub
parent 07f052738d
commit 52f0dab2f8
7 changed files with 23 additions and 138 deletions

View File

@@ -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';