gitlab.pl
Author | Rich Jones |
---|---|
Compatibility | Xymon 4.2 |
Requirements | Perl, GitLab |
Download | None |
Last Update | 2017-07-17 |
Description
A super simple script to monitor a self hosted GitLab (https://about.gitlab.com/) server.
Installation
Client side
Change the appropriate vars in the script (see below) and place in /usr/lib/xymon/client/ext (or wherever you have the client extension dir).
Vars:
- _SOME_IP_ - The Xymon server IP
- _SOME_HOSTNAME_ - The Xymon server hostname/URL
- _GITLAB_URL_ - Gitlab instance URL
- _GITLAB_TOKEN_ - The Gitlab healthcheck token that you can get from _GITLAB_URL_/admin/health_check
Add the following to clientlaunch.cfg
[gitlab] ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg CMD $XYMONCLIENTHOME/ext/gitlab.pl LOGFILE $XYMONCLIENTHOME/logs/gitlab.log INTERVAL 5m