monitors:gitlab.pl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
monitors:gitlab.pl [2017/07/18 08:01] – [Installation] richmonitors: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 and place in /usr/lib/xymon/client/ext (or wherever you have the client extension dir.+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 healthcheck URL that you can get from yourgitlabinstance.dev/admin/health_check
  
 Add the following to clientlaunch.cfg Add the following to clientlaunch.cfg
Line 18: Line 23:
         [gitlab]         [gitlab]
         ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg         ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
-        CMD $XYMONCLIENTHOME/ext/bb-gitlab.pl +        CMD $XYMONCLIENTHOME/ext/gitlab.pl 
-        LOGFILE $XYMONCLIENTHOME/logs/bb-gitlab.log+        LOGFILE $XYMONCLIENTHOME/logs/gitlab.log
         INTERVAL 5m         INTERVAL 5m
- 
-=== Server side === 
- 
 ===== Source ===== ===== Source =====
 ==== gitlab.pl ==== ==== gitlab.pl ====
Line 31: Line 33:
 #!/usr/bin/perl -w #!/usr/bin/perl -w
 # #
-bb-gitlab - Git lab checks+# gitlab.pl - Git lab checks
 # R Jones 2016 # R Jones 2016
 # #
  • monitors/gitlab.pl.txt
  • Last modified: 2017/07/18 08:51
  • by rich