Skip to main content

GitLab

Follow these steps to configure OpenLM to monitor license usage and retrieve statistics from GitLab.

Requirements

Before starting, make sure you have:

  • OpenLM Broker v22.2 or higher installed on a machine in the same LAN as GitLab
  • OpenLM Server v21.12 or higher
  • TCP/IP communication enabled
  • A configured GitLab instance
  • A GitLab account

Monitoring capabilities

The current monitoring capabilities for GitLab through OpenLM Broker are:

FeatureResolutionLicense totalsLicense usageDenials reportingBorrowed license reportingExpiration date reportingMultiple server redundancy
SupportBy minute

OpenLM Broker configuration

Diagram of how OpenLM interfaces with GitLab
Diagram of how OpenLM interfaces with GitLab

note

OpenLM Broker must already be installed and configured to report to OpenLM Server before proceeding.

Manual configuration (Broker desktop UI)

  1. Click Add Port.

  2. Enter the GitLab port number (default: 80).

  3. From License Manager Type, select GitLab and click Apply.

  4. In the Commands node, select Data Inquiry and enter the GitLab API endpoint for users, for example:
    http://FQDN:80/api/v4/users

  5. In C:\Program Files\OpenLM\OpenLM Broker, open the gitlab@80.properties file, provide login information, and save.

  6. In Broker, click Execute, then Apply. Ensure the license data output is displayed.

  7. Under Vendors, select the vendor placeholder node, enter GitLab, and click Apply.

  8. Click Restart Broker.

Verify your configuration

  1. Open EasyAdmin in your browser.
  2. Go to Start → Widgets → License Servers.
  3. Approve the GitLab license manager from the Pending Approval list.
note

It may take up to 3 minutes for a new connection to display as active.