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
Merge requests
!283
update docs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update docs
simple-task/7546-icinga-check-für-ablaufende-gitlab-tokens
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
simple-task/7546-icinga-check-für-ablaufende-gitlab-tokens
into
master
6 months ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
cc9ab760
Prev
Next
Show latest version
1 file
+
11
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
cc9ab760
update docs
· cc9ab760
Hahn Axel (hahn)
authored
6 months ago
docs/20_Checks/check_gitlab_tokens.md
+
11
−
3
Options
@@ -63,7 +63,7 @@ If you need to skip the token check but the check was rolled out on a server the
______________________________________________________________________
CHECK_GITLAB_TOKENS
v1.
0
v1.
1
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
@@ -93,8 +93,16 @@ OPTIONS:
-c VALUE critical level (default: 10)
-g FILE path to GITLAB_CONFIG; default: /etc/icinga2/gitlab.cfg
-r FILE path to REST client; default: ./../inc/rest-api-client.sh
It overrides the variable REST_CLIENT.
There you can set/ override:
GITLAB_API='https://gitlab.example.com/api/v4'
GITLAB_CONFIG=<TOKEN>
REST_CLIENT="/opt/rest-api-client/rest-api-client.sh"
-r FILE path to REST api client
default: /opt/rest-api-client/rest-api-client.sh
The parameter overrides the variable REST_CLIENT.
-s DAYS Number of days for max age of token; default: 395
PARAMETERS:
Loading