handcode / check_mk_kernel_version

check running vs. installed kernel versions
2 stars 2 forks source link

proxmox kernel again... #3

Open mdklapwijk opened 5 years ago

mdklapwijk commented 5 years ago

Hi, proxmox broke it once more. I do not have time to fix it in my own fork first, but here is the code which seems to fix it: working really great these code-tags...

kernel_version_compare.txt

mdklapwijk commented 5 years ago

caused by another package with some ambiguous naming: root@pve-04:/home/mklapwijk# dpkg -l |grep pve-kernel-$(uname -r | cut -d '.' -f1) ii pve-kernel-4.15 5.3-1 all Latest Proxmox VE Kernel Image ii pve-kernel-4.15.18-10-pve 4.15.18-32 amd64 The Proxmox PVE Kernel Image

handcode commented 5 years ago

Thanks for the hint.

I'll take a look at that in the next days.

handcode commented 5 years ago

@mdklapwijk: I've added the pkg_suffix for proxmox and tested the plugin in a promox 5.3 VM. If this works for you as well, i'll release a new version.

Thanks