* Enhance mode clusterhealth.pm
This commit is contained in:
parent
f440a1b256
commit
d4b0d0ebc1
|
@ -131,6 +131,7 @@ sub run {
|
|||
name => $item);
|
||||
|
||||
foreach my $sensor (@sensors) {
|
||||
next if (!defined($details->{$sensor}) || $details->{$sensor} eq '');
|
||||
$self->{output}->output_add(long_msg => sprintf("Sensor '%s' state is '%s'",
|
||||
$sensor, $details->{$sensor}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue