fix ilo 5 plugin
This commit is contained in:
parent
aaf382dfa2
commit
8d3b0c5ba3
|
@ -32,7 +32,7 @@ sub check {
|
|||
my ($self) = @_;
|
||||
|
||||
$self->{output}->output_add(long_msg => 'checking fans');
|
||||
$self->{components}->{chassis} = { name => 'fans', total => 0, skip => 0 };
|
||||
$self->{components}->{fan} = { name => 'fans', total => 0, skip => 0 };
|
||||
return if ($self->check_filter(section => 'fan'));
|
||||
|
||||
$self->get_chassis() if (!defined($self->{chassis}));
|
||||
|
|
|
@ -27,7 +27,7 @@ sub check {
|
|||
my ($self) = @_;
|
||||
|
||||
$self->{output}->output_add(long_msg => 'checking power supplies');
|
||||
$self->{components}->{psu} = { name => 'psus', total => 0, skip => 0 };
|
||||
$self->{components}->{psu} = { name => 'psu', total => 0, skip => 0 };
|
||||
return if ($self->check_filter(section => 'psu'));
|
||||
|
||||
$self->get_chassis() if (!defined($self->{chassis}));
|
||||
|
|
Loading…
Reference in New Issue