diff --git a/docs/20_Checks/check_reboot_required.md b/docs/20_Checks/check_reboot_required.md index 0acd157c440ede85929a407c65eb84b652316885..df428595fed48382f7efbc0bedf84229299b760d 100644 --- a/docs/20_Checks/check_reboot_required.md +++ b/docs/20_Checks/check_reboot_required.md @@ -28,8 +28,25 @@ PARAMETERS: ## Examples -`check_cronstatus` - The Check of cronjobs with the default loction does not require any parameter +### No reboot needed -`check_cronstatus /usr/share/cronwrapper/cronstatus.sh` - The Check of cronjobs with custom loction. +```txt +./check_reboot_required +OK: [centos] no reboot required (kernel is up to date: 4.18.0-500.el8.x86_64) +``` + +### Reboot needed + +On CentOs we check an updated kernel + +```txt +./check_reboot_required +WARNING: [centos] need to reboot for kernel package kernel is not installed (current: 4.18.0-193.el8.x86_64) +``` + +### Not supported OS: unknown + +```txt +./check_reboot_required +UNKNOWN: distro [manjaro] was detected but is not supported (yet). +```