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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Merge requests
!172
check_systemdunit: update doc page
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
check_systemdunit: update doc page
add-systemdunit
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
add-systemdunit
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f76eb8d0
1 commit,
1 year ago
1 file
+
13
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docs/20_Checks/check_systemdunit.md
+
13
−
0
View file @ f76eb8d0
Edit in single-file editor
Open in Web IDE
Show full file
@@ -112,3 +112,16 @@ CRITICAL: Unit justadummy.service could not be found.
### Other units
With
``$ ./check_systemdunit -l``
you get a grouped list of all unit types. check_systemdunit handles all types - not only services.
### Regex examples
Here are a few examples for services with regex:
*
different names on different os:
*
``check_systemdunit -r '(apache2|httpd)\.service'``
*
Some operateing write a service with "d" - some not. To define the service that can have the "d" or not
*
``check_systemdunit -r 'nmb[d]{0,1}.service'``
*
``check_systemdunit -r 'smb[d]{0,1}.service'``
*
``check_systemdunit -r 'ssh[d]{0,1}.service'``
*
Placeholders for version numbers
*
``check_systemdunit -r 'php.*fpm\.service'``
Loading