Shell script to check if a reboot is required.
It basically just checks whether the file
/var/run/reboot-required is present.
Should work on all Debian-based systems.
You may also want to have a look at check_kernel, to verify that you’re running the latest kernel (this plugin does not evaluate the kernel)..
Download the tool at check_reboot.sh (or see GitHub)
Please consider to take a look at my general monitoring setup notes.
Leave a comment
There are multiple options to leave a comment: