Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
bd470143
Commit
bd470143
authored
2 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
reboot: update markdown help
parent
c9022a9d
No related branches found
Branches containing commit
No related tags found
1 merge request
!295
Simple task/7546 icinga check für ablaufende gitlab tokens
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/20_Checks/check_reboot_required.md
+34
-4
34 additions, 4 deletions
docs/20_Checks/check_reboot_required.md
with
34 additions
and
4 deletions
docs/20_Checks/check_reboot_required.md
+
34
−
4
View file @
bd470143
...
...
@@ -20,16 +20,45 @@ From this repository ypu need next to this script:
`$ check_reboot_required [-h]`
### Parameters
```
txt
______________________________________________________________________
CHECK_REBOOT_REQUIRED
v1.5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_reboot_required.html
______________________________________________________________________
Check if a reboot is required.
It works for Centos and Debian/ Ubuntu and Manjaro
If the reboot is required:
* On Centos it shows the kernel number that will be installed,
* On Debian/ Ubuntu it shows the packages that require the reboot,
* On Manjaro it shows if a newer kernel or which libs require the reboot.
The check for libs uses lsof.
If your distro is based on Arch, Centos or Debian then it easily can be added
in the script if it does not work. Report the distro name to the author.
SYNTAX:
check_reboot_required
```
text
OPTIONS:
-h or --help show this help.
PARAMETERS:
None
None.
EXAMPLE:
check_reboot_required
```
## Examples
...
...
@@ -54,5 +83,6 @@ WARNING: [centos] need to reboot for kernel package kernel is not installed (c
```
txt
./check_reboot_required
UNKNOWN: distro [manjaro] was detected but is not supported (yet).
UNKNOWN: distro [otherlinux] was detected but is not supported (yet).
If your distro is based on Arch, Centos or Debian then it easily can be added in the script. Report the distro name to the author.
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment