Skip to content
Snippets Groups Projects

OP#7659 Icinga-Check Mysql - Hilfe wird nicht angezeigt https://projects.iml.unibe.ch/work_packages/7659

4 files
+ 10
10
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -19,7 +19,7 @@ The check returns
* curl
* Bash REST API client<br>A set of class like functions with a http. prefix. <br>📗 Docs: <https://os-docs.iml.unibe.ch/bash-rest-api-client/>
Extract or Git pull the Bash REST API client somewhere in your filesystem. eg. /opt/bash-api-client/. With the parameter `-r <FILE>` you point to the file `rest-api-client.sh`.
Extract or Git pull the Bash REST API client somewhere in your filesystem. eg. /opt/bash-api-client/. With the parameter `-r <FILE>` you point to the file `http.class.sh`.
## Standalone installation
@@ -45,7 +45,7 @@ You can use another filename for this configuration - but then you need the para
| -- | -- | -- |
| GITLAB_API | string | target url to the gitlab api |
| GITLAB_TOKEN | string | token of an admin user to read the api |
| REST_CLIENT | string | rest-api-client.sh as filename with full path or relative to the check_gitlab_tokens |
| REST_CLIENT | string | http.class.sh as filename with full path or relative to the check_gitlab_tokens |
Example:
@@ -55,7 +55,7 @@ GITLAB_API='https://gitlab.example.com/api/v4'
GITLAB_TOKEN='glpat-1234567890'
# Rest API client
# REST_CLIENT='/some/where/rest-api-client.sh'
# REST_CLIENT='/some/where/http.class.sh'
```
Hint:
@@ -103,10 +103,10 @@ OPTIONS:
GITLAB_API='https://gitlab.example.com/api/v4'
GITLAB_CONFIG=<TOKEN>
REST_CLIENT="/opt/rest-api-client/rest-api-client.sh"
REST_CLIENT="/opt/rest-api-client/http.class.sh"
-r FILE path to REST api client
default: /opt/rest-api-client/rest-api-client.sh
default: /opt/rest-api-client/http.class.sh
The parameter overrides the variable REST_CLIENT.
-s DAYS Number of days for max age of token; default: 395
Loading