mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
fix(hardware::server::hp::ilo::restapi): exclude enclosure CTOR-1798 (#5671)
This commit is contained in:
parent
8a0270bdfd
commit
420edcf3c4
@ -36,6 +36,7 @@ sub check {
|
||||
my $instance = $chassis->{Id};
|
||||
|
||||
next if ($self->check_filter(section => 'chassis', instance => $instance));
|
||||
next if ($chassis->{ChassisType} eq 'Enclosure');
|
||||
$self->{components}->{chassis}->{total}++;
|
||||
|
||||
$self->{output}->output_add(
|
||||
|
Loading…
x
Reference in New Issue
Block a user