mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
+ Fix eternus disk dx mode
This commit is contained in:
parent
8c0a56da93
commit
0ab170d5ea
@ -33,7 +33,7 @@ my $thresholds = {
|
||||
['Redundant Copy', 'OK'],
|
||||
['Rebuild/Copyback', 'WARNING'],
|
||||
['Available (Predictive Failure)', 'WARNING'],
|
||||
['Present', 'WARNING'],
|
||||
['Present', 'OK'],
|
||||
['Failed Usable', 'WARNING'],
|
||||
['Formatting', 'WARNING'],
|
||||
['Not Format', 'WARNING'],
|
||||
@ -129,6 +129,7 @@ sub run {
|
||||
while ($stdout =~ /^(\S+)\s+(\S+)/msg) {
|
||||
my ($disk_name, $disk_status) = ($1, $2);
|
||||
next if ($disk_name =~ /Location|---/);
|
||||
next if ($disk_name !~ /Disk/i);
|
||||
|
||||
next if ($self->check_filter(section => 'disk', instance => $disk_name));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user