Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage gen11 #29

Merged
merged 3 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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