Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
monitors:gitlab.pl [2017/07/17 16:50] – created rich | monitors:gitlab.pl [2017/07/18 08:51] – [gitlab.pl] 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 === | ||
+ | Change the appropriate vars in the script (see below) and place in / | ||
- | === Server side === | + | Vars: |
+ | * _SOME_IP_ - The Xymon server IP | ||
+ | * _SOME_HOSTNAME_ - The Xymon server hostname/ | ||
+ | * _GITLAB_URL_ - Gitlab healthcheck URL that you can get from yourgitlabinstance.dev/ | ||
+ | Add the following to clientlaunch.cfg | ||
+ | |||
+ | [gitlab] | ||
+ | ENVFILE $XYMONCLIENTHOME/ | ||
+ | CMD $XYMONCLIENTHOME/ | ||
+ | LOGFILE $XYMONCLIENTHOME/ | ||
+ | INTERVAL 5m | ||
===== Source ===== | ===== Source ===== | ||
==== gitlab.pl ==== | ==== gitlab.pl ==== | ||
Line 22: | Line 33: | ||
# | # | ||
# | # | ||
- | # bb-gitlab - Git lab checks | + | # gitlab.pl - Git lab checks |
# R Jones 2016 | # R Jones 2016 | ||
# | # |