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)..
Please consider to take a look at my general monitoring setup notes.