mirror of
https://github.com/bashclub/checkmk-monitoring-plugins.git
synced 2025-02-05 09:28:36 +01:00
Tom Grassmann
5f6cf0c9d3
Use sort -V to sort by Version. This fixes false positives if kernelversion has more than on digit
checkmk-monitoring-plugins
A collection of monitoring plugins for checkmk >= 2.0
running-kernel (Checkmk Agent local check)
Compares the running kernel with the latest installed kernel on Debian based systems and will change state to WARN if a newer kernel version is installed and the system needs a reboot.
Installation
Just execute the following command to install the plugin on your machine to monitor:
wget -O /usr/lib/check_mk_agent/local/check_running_kernel https://github.com/bashclub/checkmk-monitoring-plugins/raw/main/running-kernel/check_running_kernel
chmod +x /usr/lib/check_mk_agent/local/check_running_kernel
The check will be detected automatically by CheckMK Discovery.
Languages
Shell
78.7%
Python
21.3%