From cc9ab76024c4bf52d047995cfa1771b7b8b0f507 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 30 Oct 2024 10:19:50 +0100 Subject: [PATCH] update docs --- docs/20_Checks/check_gitlab_tokens.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/20_Checks/check_gitlab_tokens.md b/docs/20_Checks/check_gitlab_tokens.md index 445e1d8..818c705 100644 --- a/docs/20_Checks/check_gitlab_tokens.md +++ b/docs/20_Checks/check_gitlab_tokens.md @@ -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: -- GitLab