title: Linux: Reboot required
agents: linux
catalog: os/misc
license: GPLv2
distribution: check_mk
description:
 Reports a required reboot: reboot-required flag (Debian/Ubuntu), dnf/yum
 needs-restarting, zypper needs-rebooting, a newer installed kernel than the
 running one, or missing modules of the running kernel. Optionally escalates
 after a configurable time. Services needing a restart are listed
 (needrestart, needs-restarting -s, zypper ps). Inside containers the service
 is not applicable and stays OK.
 Loaded kernel livepatches (Canonical Livepatch, kpatch, SUSE klp) are shown;
 optionally an own state applies if only a newer kernel is pending and a
 livepatch is active.

discovery:
 One service is created on each host that sends the linux_updates section, named
 after its package manager (APT, DNF, YUM or Zypper).

item:
 The package manager: APT, DNF, YUM or Zypper.
