mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
* Enhance mode clusterhealth.pm
This commit is contained in:
parent
7f4fd90d56
commit
4c3b7b61a8
@ -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