Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
monitors:gitlab.pl [2017/07/18 08:01] – [Installation] rich | monitors:gitlab.pl [2017/07/18 08:51] (current) – [Installation] rich | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== gitlab.pl ====== | ====== gitlab.pl ====== | ||
- | ^ Author | [[ rich@nothingatall.net | Rich Jones]] | | + | ^ Author | [[ http://www.nothingatall.net | Rich Jones]] | |
^ Compatibility | Xymon 4.2 | | ^ Compatibility | Xymon 4.2 | | ||
^ Requirements | Perl, GitLab | | ^ Requirements | Perl, GitLab | | ||
Line 12: | Line 12: | ||
===== Installation ===== | ===== Installation ===== | ||
=== Client side === | === Client side === | ||
- | Place the gitlab.pl | + | Change |
+ | |||
+ | Vars: | ||
+ | * _SOME_IP_ - The Xymon server IP | ||
+ | * _SOME_HOSTNAME_ - The Xymon server hostname/ | ||
+ | * _GITLAB_URL_ - Gitlab instance URL | ||
+ | * _GITLAB_TOKEN_ - The Gitlab healthcheck token that you can get from _GITLAB_URL_/ | ||
Add the following to clientlaunch.cfg | Add the following to clientlaunch.cfg | ||
[gitlab] | [gitlab] | ||
ENVFILE $XYMONCLIENTHOME/ | ENVFILE $XYMONCLIENTHOME/ | ||
- | CMD $XYMONCLIENTHOME/ | + | CMD $XYMONCLIENTHOME/ |
- | LOGFILE $XYMONCLIENTHOME/ | + | LOGFILE $XYMONCLIENTHOME/ |
INTERVAL 5m | INTERVAL 5m | ||
- | |||
- | === Server side === | ||
- | |||
===== Source ===== | ===== Source ===== | ||
==== gitlab.pl ==== | ==== gitlab.pl ==== | ||
Line 30: | Line 34: | ||
# | # | ||
# | # | ||
- | # bb-gitlab - Git lab checks | + | # gitlab.pl - Git lab checks |
# R Jones 2016 | # R Jones 2016 | ||
# | # |