[Pkg-nagios-devel] Bug#1118973: Bug#1118973: monitoring-plugins-contrib: check_running_kernel fails on ProxMox kernels

Matija Nalis mnalis-debianbug at voyager.hr
Tue Oct 28 23:47:22 GMT 2025


Hi Jan,

> I belive this should be fixed in Proxmox. 

OK, I've reported it to proxmox at https://bugzilla.proxmox.com/show_bug.cgi?id=6981

> There are many other situations where 3rd party kernel images
> can/are used and potentially this can break the version detection.

Which is why this patch was written in such a way to avoid such
possible breakages (i.e. it would only trigger if the versions are
completely the same, except on-disk one having empty " ()" section at
the end. That should not make any false positives or break any other
detections).

> I'm still open for a more general solution.

More general solution might be to remove such empty section
(whitespace plus empty parenthsesis) anywhere in the version string.
That could be done in "on_disk_version" to be in more proper place,
as you suggested.

But let's see what Proxmox people will reply first.

Cheers,
Matija

-- 
Opinions above are GNU-copylefted.



More information about the Pkg-nagios-devel mailing list