Fix redback
This commit is contained in:
parent
fae75ab2a2
commit
00fe4eae2d
|
@ -75,7 +75,7 @@ sub check {
|
||||||
$self->{output}->output_add(severity => $exit,
|
$self->{output}->output_add(severity => $exit,
|
||||||
short_msg => sprintf("Voltage '%s' is %s mV", $result->{rbnVoltageDescr}, $result->{rbnVoltageCurrent}));
|
short_msg => sprintf("Voltage '%s' is %s mV", $result->{rbnVoltageDescr}, $result->{rbnVoltageCurrent}));
|
||||||
}
|
}
|
||||||
$self->{output}->perfdata_add(label => "temp_" . $instance, unit => 'mV',
|
$self->{output}->perfdata_add(label => "volt_" . $instance, unit => 'mV',
|
||||||
value => $result->{rbnVoltageCurrent},
|
value => $result->{rbnVoltageCurrent},
|
||||||
warning => $warn,
|
warning => $warn,
|
||||||
critical => $crit);
|
critical => $crit);
|
||||||
|
|
Loading…
Reference in New Issue