remove cisco standard sensors rounded
This commit is contained in:
parent
4bb0aa0ff8
commit
50562bba7f
|
@ -204,7 +204,6 @@ sub check {
|
||||||
|
|
||||||
$result->{entSensorValue} = defined($result->{entSensorValue}) ?
|
$result->{entSensorValue} = defined($result->{entSensorValue}) ?
|
||||||
$result->{entSensorValue} * (10 ** ($result->{entSensorScale}) * (10 ** -($result->{entSensorPrecision}))) : undef;
|
$result->{entSensorValue} * (10 ** ($result->{entSensorScale}) * (10 ** -($result->{entSensorPrecision}))) : undef;
|
||||||
$result->{entSensorValue} = sprintf("%.2f", $result->{entSensorValue});
|
|
||||||
|
|
||||||
$self->{output}->output_add(long_msg => sprintf("Sensor '%s' status is '%s' [instance: %s] [value: %s %s]",
|
$self->{output}->output_add(long_msg => sprintf("Sensor '%s' status is '%s' [instance: %s] [value: %s %s]",
|
||||||
$sensor_descr, $result->{entSensorStatus},
|
$sensor_descr, $result->{entSensorStatus},
|
||||||
|
|
Loading…
Reference in New Issue