mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
CTOR-880: New Pack(storage::hp::alletra::restapi) (#5658)
This commit is contained in:
parent
4565304d18
commit
6bbc7da43b
@ -216,7 +216,12 @@ sub manage_selection {
|
||||
manufacturer => $disk->{manufacturer},
|
||||
model => $disk->{model},
|
||||
serial => $disk->{serialNumber}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
if (scalar(keys %{$self->{disks}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No disk found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
||||
@ -329,14 +334,6 @@ Threshold.
|
||||
|
||||
Threshold.
|
||||
|
||||
=item B<--warning-status>
|
||||
|
||||
Threshold.
|
||||
|
||||
=item B<--critical-status>
|
||||
|
||||
Threshold.
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
@ -214,7 +214,12 @@ sub manage_selection {
|
||||
provisioning_type => defined($provisioning_type{$volume->{provisioningType}}) ?
|
||||
$provisioning_type{$volume->{provisioningType}} : 'NOT_DOCUMENTED',
|
||||
readonly => $volume->{readOnly}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
if (scalar(keys %{$self->{volumes}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No volume found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user