[debian-edu-commits] debian-edu/upstream/ 01/01: Adjust nagios kernel version checking module to work with 4.x kernels.
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Sat Dec 2 00:21:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository sitesummary.
commit b3ade6b5c9c51c3915d205bf5783e4d43c8b221a
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Sat Dec 2 01:19:33 2017 +0100
Adjust nagios kernel version checking module to work with 4.x kernels.
---
debian/changelog | 6 ++++++
nagios-plugins/check_kernel_status | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 65838dd..15ce50f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sitesummary (0.1.31) UNRELEASED; urgency=medium
+
+ * Adjust nagios kernel version checking module to work with 4.x kernels.
+
+ -- Wolfgang Schweer <wschweer at arcor.de> Sat, 02 Dec 2017 00:54:48 +0100
+
sitesummary (0.1.30) unstable; urgency=medium
* Bump Standards-Version to 4.1.1, no changes needed.
diff --git a/nagios-plugins/check_kernel_status b/nagios-plugins/check_kernel_status
index 742f90c..b9b8d75 100755
--- a/nagios-plugins/check_kernel_status
+++ b/nagios-plugins/check_kernel_status
@@ -72,7 +72,7 @@ my $dpkg_list = `COLUMNS=1024 dpkg -l`;
my $dpkg;
for my $line (split("\n", $dpkg_list)) {
chomp $line;
- $dpkg = $line if ($line =~ m/^ii.+linux-image-(2.6|3.\d)/);
+ $dpkg = $line if ($line =~ m/^ii.+linux-image-(2.6|3.\d|4.\d)/);
}
# Now, which OS is it, and which footprint do they use?
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git
More information about the debian-edu-commits
mailing list