[pkg-nagios-changes] [Git][nagios-team/pkg-nagios-plugins-contrib][master] 4 commits: Adding d/p/check_raid/sort_megacli_numerical
Jan Wagner
gitlab at salsa.debian.org
Fri Sep 25 15:05:59 BST 2020
Jan Wagner pushed to branch master at Debian Nagios Maintainer Group / pkg-nagios-plugins-contrib
Commits:
e3913685 by Jan Wagner at 2020-09-25T14:26:34+02:00
Adding d/p/check_raid/sort_megacli_numerical
- - - - -
9c92bb02 by Jan Wagner at 2020-09-25T14:27:40+02:00
Adding d/p/check_raid/hpacucli_cache_fail
- - - - -
1e9f7cc3 by Jan Wagner at 2020-09-25T14:28:27+02:00
Adding d/p/check_raid/fix_unparsed_error_cciss
- - - - -
51d99389 by Jan Wagner at 2020-09-25T14:58:02+02:00
Merge branch 'refresh_check_raid' into development
- - - - -
4 changed files:
- + debian/patches/check_raid/fix_unparsed_error_cciss
- + debian/patches/check_raid/hpacucli_cache_fail
- + debian/patches/check_raid/sort_megacli_numerical
- debian/patches/series
Changes:
=====================================
debian/patches/check_raid/fix_unparsed_error_cciss
=====================================
@@ -0,0 +1,12 @@
+Incorporate changes from https://github.com/glensc/nagios-plugin-check_raid/pull/200/commits/12186c44c51941a16f82d23ee9c5fbd212a2c315
+--- a/check_raid/check_raid
++++ b/check_raid/check_raid
+@@ -1831,6 +1831,8 @@
+ my $cache = $c{$cdev}{cache};
+ my %map = (
+ configured => qr/Cache configured: (.+)/,
++ total_cache_memory => qr/Total cache memory: (.+)/,
++ cache_ratio => qr/Cache Ratio: (.+)/,
+ read_cache_memory => qr/Read cache memory: (.+)/,
+ write_cache_memory => qr/Write cache memory: (.+)/,
+ write_cache_enabled => qr/Write cache enabled: (.+)/,
=====================================
debian/patches/check_raid/hpacucli_cache_fail
=====================================
@@ -0,0 +1,17 @@
+Incorporate chanegs from https://github.com/glensc/nagios-plugin-check_raid/commit/4a6e9fa15fe1f1e940637f048e86dedc607b1596
+--- a/check_raid/check_raid
++++ b/check_raid/check_raid
+@@ -3164,11 +3164,11 @@
+ # print those only if not ok and configured
+ if (($s = $c->{'Cache Status'}) && $s !~ /^(OK|Not Configured)/) {
+ push(@s, "Cache: $s");
+- $this->critical;
++ $this->cache_fail;
+ }
+ if (($s = $c->{'Battery/Capacitor Status'}) && $s !~ /^(OK|Not Configured)/) {
+ push(@s, "Battery: $s");
+- $this->critical;
++ $this->cache_fail;
+ }
+
+ # start with identifyier
=====================================
debian/patches/check_raid/sort_megacli_numerical
=====================================
@@ -0,0 +1,12 @@
+Incorporate changes from https://github.com/glensc/nagios-plugin-check_raid/commit/2a05ecb2b219a5f102acb81d9bd6aeabb664d434
+--- a/check_raid/check_raid
++++ b/check_raid/check_raid
+@@ -4057,7 +4057,7 @@
+ }
+
+ my %dstatus;
+- foreach my $dev (@{$c->{physical}}) {
++ foreach my $dev (sort {$a->{dev} <=> $b->{dev}} @{$c->{physical}}) {
+ if ($dev->{state} eq 'Online' || $dev->{state} eq 'Hotspare' || $dev->{state} eq 'Unconfigured(good)' || $dev->{state} eq 'JBOD') {
+ push(@{$dstatus{$dev->{state}}}, sprintf "%02d", $dev->{dev});
+
=====================================
debian/patches/series
=====================================
@@ -54,3 +54,6 @@ check_mongodb/python2to3
percona-nagios-plugins/python2to3
check_email_delivery/check_smtp_send-hello
dsa/python2to3
+check_raid/sort_megacli_numerical
+check_raid/hpacucli_cache_fail
+check_raid/fix_unparsed_error_cciss
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/compare/2569d5b77b4a47bd42436ddc5b3aeb7578710f06...51d993897407252a31531b67e2597ce57b713186
--
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/compare/2569d5b77b4a47bd42436ddc5b3aeb7578710f06...51d993897407252a31531b67e2597ce57b713186
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20200925/baea54ce/attachment-0001.html>
More information about the pkg-nagios-changes
mailing list