mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 08:34:46 +02:00
Refs #6190
This commit is contained in:
parent
30b880c5f3
commit
2acb9576b1
@ -80,7 +80,7 @@ sub check {
|
|||||||
short_msg => sprintf("Voltage '%s' sensor out of range status is '%s'", $result->{voltageSensorName}, $result->{voltageSensorStatus}));
|
short_msg => sprintf("Voltage '%s' sensor out of range status is '%s'", $result->{voltageSensorName}, $result->{voltageSensorStatus}));
|
||||||
}
|
}
|
||||||
$self->{output}->perfdata_add(label => $result->{voltageSensorName} , unit => 'V',
|
$self->{output}->perfdata_add(label => $result->{voltageSensorName} , unit => 'V',
|
||||||
value => sprintf("%d", $result->{voltageSensorValue}));
|
value => sprintf("%.2f", $result->{voltageSensorValue}));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user