refactor: Improve Cisco ASA Polling Performance (#4999)

This commit is contained in:
Søren Rosiak
2016-11-15 21:57:47 +02:00
committed by Neil Lathwood
parent 5f8e5e7d3a
commit a0fec9e574
2 changed files with 20 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ if (is_array($oids)) {
}
// echo($descr . "|" . $index . "|" .$current . "|" . $multiplier . "|" . $divisor ."|" . $entry['entPhySensorScale'] . "|" . $entry['entPhySensorPrecision'] . "\n");
if ($current == '-127') {
if ($current == '-127' || ($device['os'] == 'asa' && str_contains($sysDescr, 'sc'))) {
$valid_sensor = false;
}