[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752374: sitesummary-client: Nagios plugin check_kernel_status fail with kernels in Jessie/sid



Package: sitesummary-client
Version: 0.1.10
Severity: important

The Nagios module to check kernel version number of running and
installed kernels do not work in Jessie.  Here is from a test machine,
running kernel 3.13 and having kernel 3.14 installed:

root@owncloud:/# LC_ALL=C /usr/lib/sitesummary/nagios-plugins/check_kernel_status 
OK - running kernel = 4.8.2-16.1.25, installed kernel = 3.14.7-1.0.0
root@owncloud:/# uname -a
Linux owncloud 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux
root@owncloud:/# cat /proc/version
Linux version 3.13-1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.2 (Debian 4.8.2-16) ) #1 SMP Debian 3.13.7-1 (2014-03-25)
root@owncloud:/# 

The regex seem to pick the gcc version instead of the kernel version.
-- 
Happy hacking
Petter Reinholdtsen


Reply to: