Skip to content

Commit bb1a15c

Browse files
committed
refactor(gitlab-health): increase timeout from 3 to 8 secs
1 parent 090353f commit bb1a15c

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Icinga Director:
5050

5151
Monitoring Plugins:
5252

53+
* gitlab-health: increase timeout from 3 to 8 secs
5354
* gitlab-liveness: increase timeout from 3 to 8 secs
5455
* gitlab-readiness: increase timeout from 3 to 8 secs
5556
* journald-usage: also print SystemMaxUse and SystemKeepFree

check-plugins/gitlab-health/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ options:
4242
Severity for alerting. Default: warn
4343
--test TEST For unit tests. Needs "path-to-stdout-file,path-to-
4444
stderr-file,expected-retc".
45-
--timeout TIMEOUT Network timeout in seconds. Default: 3 (seconds)
45+
--timeout TIMEOUT Network timeout in seconds. Default: 8 (seconds)
4646
--url URL GitLab health URL endpoint. Default:
4747
http://localhost/-/health
4848
```

check-plugins/gitlab-health/gitlab-health

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ from lib.globals import (STATE_CRIT, STATE_OK, # pylint: disable=C0413
2323

2424

2525
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
26-
__version__ = '2025021501'
26+
__version__ = '2025081901'
2727

2828
DESCRIPTION = """Checks whether the GitLab application server is running. It does not hit
2929
the database or verifies other services are running."""
3030

3131
DEFAULT_INSECURE = False
3232
DEFAULT_NO_PROXY = False
3333
DEFAULT_SEVERITY = 'warn'
34-
DEFAULT_TIMEOUT = 3
34+
DEFAULT_TIMEOUT = 8
3535
DEFAULT_URL = 'http://localhost/-/health'
3636

3737

check-plugins/gitlab-health/icingaweb2-module-director/gitlab-health.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"gitlab_health_insecure": false,
112112
"gitlab_health_no_proxy": false,
113113
"gitlab_health_severity": "warn",
114-
"gitlab_health_timeout": 3,
114+
"gitlab_health_timeout": 8,
115115
"gitlab_health_url": "http://localhost/-/health"
116116
},
117117
"volatile": null,

0 commit comments

Comments
 (0)