From 576b6c9e712fb9ea217314cf144239dd933a4e9e Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Mon, 8 Dec 2014 09:32:10 +0100 Subject: [PATCH] fix temperature component --- centreon/common/fastpath/mode/environment.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centreon/common/fastpath/mode/environment.pm b/centreon/common/fastpath/mode/environment.pm index fc24f2483..40b14b9d3 100644 --- a/centreon/common/fastpath/mode/environment.pm +++ b/centreon/common/fastpath/mode/environment.pm @@ -159,6 +159,8 @@ sub run { $self->check_fan(); } elsif ($self->{option_results}->{component} eq 'psu') { $self->check_psu(); + } elsif ($self->{option_results}->{component} eq 'temperature') { + $self->check_temperature(); } else { $self->{output}->add_option_msg(short_msg => "Wrong option. Cannot find component '" . $self->{option_results}->{component} . "'."); $self->{output}->option_exit();