aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rwxr-xr-xnagios-plugins/check_kernel_status4
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2ab2fe0..0760ee7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sitesummary (0.1.8) UNRELASED; urgency=low
+
+ * nagios-plugins/check_kernel_status: Add support for new format of
+ /proc/version introduced in kernel package version 3.2.32-1.
+
+ -- Petter Reinholdtsen <pere@debian.org> Tue, 06 Nov 2012 23:04:19 +0100
+
sitesummary (0.1.7) unstable; urgency=low
[ David Prévot ]
diff --git a/nagios-plugins/check_kernel_status b/nagios-plugins/check_kernel_status
index 0721f5c..a1a60b8 100755
--- a/nagios-plugins/check_kernel_status
+++ b/nagios-plugins/check_kernel_status
@@ -41,6 +41,10 @@ elsif ( -e '/proc/version' )
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)\.dfsg\.(\d+)-(\d+)\w+(\d+)\)/
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)-(\d+).+?(\d+).+?(\d+)\)/
|| $sig =~ /\(Debian (\d+)\.(\d+)\.(\d+)-(\d+)lenny(\d+)\)/
+
+ # New format in kernel package version 3.2.32-1
+ || $sig =~ / Debian (\d+)\.(\d+)\.(\d+)-(\d+)/
+
)
{
@running_version = ($1, $2, $3, $4, $5, $6);