From cbb74c65bfc1e640dfbde807d512357e025c3053 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Fri, 12 Dec 2014 17:27:28 +0100 Subject: [PATCH] Fix #6029 --- network/checkpoint/mode/components/temperature.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/checkpoint/mode/components/temperature.pm b/network/checkpoint/mode/components/temperature.pm index e9992dc29..ab777086d 100644 --- a/network/checkpoint/mode/components/temperature.pm +++ b/network/checkpoint/mode/components/temperature.pm @@ -74,7 +74,7 @@ sub check { my $exit = $self->get_severity(section => 'temperature', value => $map_states_temperature{$temperature_state}); if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) { $self->{output}->output_add(severity => $exit, - short_msg => sprintf("Temperature '%s' sensor out of range status is '%s'", $voltage_name, $map_states_temperature{$temperature_state})); + short_msg => sprintf("Temperature '%s' sensor out of range status is '%s'", $temperature_name, $map_states_temperature{$temperature_state})); } $self->{output}->perfdata_add(label => $temperature_name , unit => 'C',