Skip to main content

GitLab

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

Requirements

  1. OpenLM Platform
  2. OpenLM Broker v25.x or higher installed on the same machine as Gitlab, and approve it in Broker Hub.

Monitoring capabilities

The current monitoring capabilities for GitLab through OpenLM Broker are:

ItemValue
Report resolutionBy minute
License totalsYes
License usageYes
Denials reportingYes
Borrowed license reportingNo
Expiration date reportingYes
Multiple server redundancyNo

OpenLM Broker configuration

Diagram of how OpenLM interfaces with GitLab

note

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

Configuring via Broker UI

  1. Open Broker UI at http://localhost:5090/.

  2. Go to License Managers -> Add License Manager.

  3. Select Gitlab, enter the port number, and click Add.

  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.

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

  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.

Configure OpenLM Platform

  1. Log in to OpenLM Platform.

  2. From Menu, go to License Servers.

    On left menu, select Pending Server

  3. On left menu, select Pending Server

  4. On the list, select the Gitlab license manager and click on Approve and Merge

    Verifying the configuration

  5. In OpenLM Web Interface -> Menu -> License Servers Live -> Server Statistics.

  6. Ensure Gitlab appears in the list with a green status indicator.

Note: It can take up to 3 minutes for the status to update for new connections.