Skip to content

Commit

Permalink
Merge pull request #29 from fragfutter/storage_gen11
Browse files Browse the repository at this point in the history
Storage gen11
  • Loading branch information
lausser authored Jan 3, 2024
2 parents 7028f43 + d4b2cee commit 599600a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Makefile
Makefile.in
autom4te.cache/
config.log
config.status
configure
plugins-scripts/Makefile
plugins-scripts/Makefile.in
plugins-scripts/check_hpasm
plugins-scripts/subst

6 changes: 3 additions & 3 deletions plugins-scripts/HP/Proliant/Component/DiskSubsystem/Da.pm
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ sub check {
$self->blacklist('dapd', $self->{name});
$self->add_info(
sprintf "physical drive %s is %s",
$self->{name}, $self->{cpqDaPhyDrvCondition});
if ($self->{cpqDaPhyDrvCondition} ne 'ok') {
$self->{name}, $self->{cpqDaPhyDrvStatus});
if ($self->{cpqDaPhyDrvStatus} ne 'ok') {
$self->add_message(CRITICAL,
sprintf "physical drive %s is %s",
$self->{name}, $self->{cpqDaPhyDrvCondition});
$self->{name}, $self->{cpqDaPhyDrvStatus});
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ sub init {
2 => "ok",
3 => "failed",
4 => "predictiveFailure",
5 => "erasing",
6 => "eraseDone",
7 => "eraseQueued",
8 => "ssdWearOut",
9 => "notAuthenticated",
},
};

Expand Down
6 changes: 6 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
aclocal
autoheader
automake --add-missing --copy
autoconf
./configure

0 comments on commit 599600a

Please sign in to comment.