mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
fix(storage::netapp::santricity::restapi): fixed hardware cmd component count (#5630)
Co-authored-by: Lucie Dubrunfaut <ldubrunfaut@CNTR-PORT-A198.localdomain> Refs: CTOR-1771
This commit is contained in:
parent
f83d5d7927
commit
e44f537f38
@ -44,7 +44,7 @@ sub check {
|
|||||||
my $name = $storage_name . ':' . $entry->{physicalLocation}->{locationPosition} . ':' . $entry->{physicalLocation}->{slot};
|
my $name = $storage_name . ':' . $entry->{physicalLocation}->{locationPosition} . ':' . $entry->{physicalLocation}->{slot};
|
||||||
|
|
||||||
next if ($self->check_filter(section => 'cmd', instance => $instance));
|
next if ($self->check_filter(section => 'cmd', instance => $instance));
|
||||||
$self->{components}->{cbd}->{total}++;
|
$self->{components}->{cmd}->{total}++;
|
||||||
|
|
||||||
$self->{output}->output_add(
|
$self->{output}->output_add(
|
||||||
long_msg => sprintf(
|
long_msg => sprintf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user