mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Fix output message (typo) in ups mode
This commit is contained in:
parent
512c43685e
commit
ae77021b5d
@ -111,7 +111,7 @@ sub run {
|
|||||||
min => 0, max => 100);
|
min => 0, max => 100);
|
||||||
}
|
}
|
||||||
$self->{output}->output_add(severity => $exit_code,
|
$self->{output}->output_add(severity => $exit_code,
|
||||||
short_msg => sprintf("Charge remaining: %s%% (%s minutes remaing)", $charge_remain, $min_remain));
|
short_msg => sprintf("Charge remaining: %s%% (%s minutes remaining)", $charge_remain, $min_remain));
|
||||||
|
|
||||||
if ($current != 0) {
|
if ($current != 0) {
|
||||||
$self->{output}->perfdata_add(label => 'current', unit => 'A',
|
$self->{output}->perfdata_add(label => 'current', unit => 'A',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user