fix ilo 5 plugin

This commit is contained in:
garnier-quentin 2019-12-30 10:29:01 +01:00
parent 4b260ea377
commit 023d7b7e05
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ sub check {
my $instance = $chassis->{Id} . '.' . $device->{Id};
$device->{Status}->{Health} = defined($device->{Status}->{Health}) ? $device->{Status}->{Health} : 'n/a';
$device->{Status}->{State} = defined($device->{Status}->{State}) ? $device->{Status}->{State} : 'n/a';
next if ($self->check_filter(section => 'device', instance => $instance));
$self->{components}->{device}->{total}++;