From d4b0d0ebc12b52b3302d7c5b89f3b2d4994fa80f Mon Sep 17 00:00:00 2001 From: Sims24 Date: Thu, 4 Feb 2016 22:00:12 +0100 Subject: [PATCH] * Enhance mode clusterhealth.pm --- storage/emc/xtremio/restapi/mode/clusterhealth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/emc/xtremio/restapi/mode/clusterhealth.pm b/storage/emc/xtremio/restapi/mode/clusterhealth.pm index 0e349e8c1..25ac27600 100644 --- a/storage/emc/xtremio/restapi/mode/clusterhealth.pm +++ b/storage/emc/xtremio/restapi/mode/clusterhealth.pm @@ -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}));