Fix redback

This commit is contained in:
Quentin Garnier 2015-03-19 16:19:00 +11:00
parent fae75ab2a2
commit 00fe4eae2d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ sub check {
$self->{output}->output_add(severity => $exit,
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},
warning => $warn,
critical => $crit);