mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-08 17:06:05 +02:00
fix temperature component
This commit is contained in:
parent
43d13ced04
commit
5ad2d6c8c8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user