Skip to content

Commit 090353f

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

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-liveness: increase timeout from 3 to 8 secs
5354
* gitlab-readiness: increase timeout from 3 to 8 secs
5455
* journald-usage: also print SystemMaxUse and SystemKeepFree
5556
* pip-updates: modernize code

check-plugins/gitlab-liveness/README.md

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

check-plugins/gitlab-liveness/gitlab-liveness

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

2525

2626
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
27-
__version__ = '2025021501'
27+
__version__ = '2025081901'
2828

2929
DESCRIPTION = """Checks whether the application server is running. This probe is used to know
3030
if Rails Controllers are not deadlocked due to a multi-threading.
@@ -33,7 +33,7 @@ DESCRIPTION = """Checks whether the application server is running. This probe is
3333
DEFAULT_INSECURE = False
3434
DEFAULT_NO_PROXY = False
3535
DEFAULT_SEVERITY = 'warn'
36-
DEFAULT_TIMEOUT = 3
36+
DEFAULT_TIMEOUT = 8
3737
DEFAULT_URL = 'http://localhost/-/liveness'
3838

3939

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"gitlab_liveness_insecure": false,
112112
"gitlab_liveness_no_proxy": false,
113113
"gitlab_liveness_severity": "warn",
114-
"gitlab_liveness_timeout": 3,
114+
"gitlab_liveness_timeout": 8,
115115
"gitlab_liveness_url": "http://localhost/-/liveness"
116116
},
117117
"volatile": null,

0 commit comments

Comments
 (0)