* Enhance mode clusterhealth.pm

This commit is contained in:
Sims24 2016-02-04 22:00:12 +01:00
parent f440a1b256
commit d4b0d0ebc1
1 changed files with 1 additions and 0 deletions

View File

@ -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}));