[debian-edu-commits] [Git][debian-edu/upstream/sitesummary][master] Adjust nagios kernel version checking module to work with 5.x kernels.

WolfgangSchweer gitlab at salsa.debian.org
Tue Sep 10 11:08:33 BST 2019



WolfgangSchweer pushed to branch master at Debian Edu / upstream / sitesummary


Commits:
8f609f55 by Wolfgang Schweer at 2019-09-10T10:07:35Z
Adjust nagios kernel version checking module to work with 5.x kernels.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -


2 changed files:

- debian/changelog
- nagios-plugins/check_kernel_status


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+sitesummary (0.1.45) UNRELEASED; urgency=medium
+
+  * Adjust nagios kernel version checking module to work with 5.x kernels.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Tue, 10 Sep 2019 12:03:26 +0200
+
 sitesummary (0.1.44) unstable; urgency=medium
 
   [ Wolfgang Schweer ]


=====================================
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|4.\d)/);
+	$dpkg = $line if ($line =~ m/^ii.+linux-image-(2.6|3.\d|4.\d|5.\d)/);
 }
 
 # Now, which OS is it, and which footprint do they use?



View it on GitLab: https://salsa.debian.org/debian-edu/upstream/sitesummary/commit/8f609f55eeff33a402c5319727d842b28d9353da

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/upstream/sitesummary/commit/8f609f55eeff33a402c5319727d842b28d9353da
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/debian-edu-commits/attachments/20190910/3bca27e6/attachment.html>


More information about the debian-edu-commits mailing list