[Pkg-nagios-devel] Bug#780098: patches to fix several issues with nagios plugin script dsa-check-running-kernel

Jonas Meurer jonas at freesources.org
Mon Mar 9 14:59:59 UTC 2015


Am 2015-03-09 15:40, schrieb Jonas Meurer:
> Hi DSA and Debian Nagios maintainers,
> 
> please find attached patches that fix three issues with your nagios 
> plugin
> script 'dsa-check-running-kernel', respectively 'check_running_kernel' 
> in
> Debian package nagios-plugins-contrib:

apparently I sent you old and broken versions of my patches. Here we go
again. Patch 02 is exactly the same, patches 01 and 03 have changed. 
Sorry
for the confusion.  I tested the patches on Debian Jessie, Debian 
Wheezy,
Ubuntu 14.10 and CentOS 6.

> 
> 1/ detect missing filter (e.g. xzcat) and warn about it. (fixes 
> #780098)
> 2/ enhance sed regex on on_disk_version for vendor != Debian. Fixes 
> kernel
>    detection on Ubuntu installations.
> 3/ iterate over all installed kernels that are either equal to or have 
> a
>    newer timestamp than running kernel. Fixes detection of newer 
> kernels
>    for new kernel releases, e.g. in Debian unstable, Debian testing.
>    Additionally fixes kernel update detection on distros that have a
>    different policy regarding kernel security updates and install a new
>    kernel file at every update, like Red Hat based distros.
> 
> All patches are against head (a3a621a387886e12a23fcf3d1c0837b7a5a5db14) 
> of
> git repository https://db.debian.org/git/dsa-nagios.git.
> 
> Cheers,
>  jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsa-check-running-kernel_fixes_01.patch
Type: text/x-diff
Size: 950 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20150309/8cff2753/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsa-check-running-kernel_fixes_02.patch
Type: text/x-diff
Size: 1105 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20150309/8cff2753/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsa-check-running-kernel_fixes_03.patch
Type: text/x-diff
Size: 2046 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20150309/8cff2753/attachment-0002.patch>


More information about the Pkg-nagios-devel mailing list