mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 09:05:19 +02:00
* Enhance mode clusterhealth.pm
This commit is contained in:
parent
f440a1b256
commit
d4b0d0ebc1
@ -131,6 +131,7 @@ sub run {
|
|||||||
name => $item);
|
name => $item);
|
||||||
|
|
||||||
foreach my $sensor (@sensors) {
|
foreach my $sensor (@sensors) {
|
||||||
|
next if (!defined($details->{$sensor}) || $details->{$sensor} eq '');
|
||||||
$self->{output}->output_add(long_msg => sprintf("Sensor '%s' state is '%s'",
|
$self->{output}->output_add(long_msg => sprintf("Sensor '%s' state is '%s'",
|
||||||
$sensor, $details->{$sensor}));
|
$sensor, $details->{$sensor}));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user