Package: nagios-plugins-contrib Version: 14.20141104 Severity: normal Hello,
apparently, check_running_kernel is broken for Jessie kernels. Instead of detecting the installed kernel version, it reports: # /usr/lib/nagios/plugins/check_running_kernel UNKNOWN: Failed to get a version string from image /boot/vmlinuz-3.16.0-4-amd64 I searched for the upstream version by DSA (dsa-check-running-kernel)[1], but that version still has the same issue. Another problem with check_running_kernel is that it works only for Debian systems. A kernel check script that seems to work on CentOS, Debian and Ubuntu based installations is check_kernel from the icinga2 git repository[2]. It has been removed from the icinga2 git repository in the meantime[3] in favour of check_running_kernel, but in my experience is the most universal one and clearly the best candidate for a cross-distro check_kernel script. Please consider to either fix check_running_kernel to work with Jessie kernels, or replace it by the linked check_kernel. Cheers, jonas [1] http://anonscm.debian.org/cgit/mirror/dsa-nagios.git/tree/dsa-nagios-checks/checks/dsa-check-running-kernel [2] https://git.icinga.org/?p=icinga2.git;a=blob;f=etc/icinga2/scripts/check_kernel;h=77ad623914f39ad6f3de923e0ee8cf3b772f6209;hb=32e6e6ff0425fef0476010b6654ff1a30d92eb28;js=1 [3] https://git.icinga.org/?p=icinga2.git;a=commit;h=9225f7ed00fa545fa1b84897ef67cbc04606a6d3;js=1 -- System Information: Debian Release: 7.8 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

