Skip to main content

GitLab

To monitor GitLab license usage in OpenLM Platform, configure OpenLM Broker to retrieve statistics from GitLab.

Before you begin​

Confirm these prerequisites:

  • OpenLM Platform
  • OpenLM Broker v25.x or higher, installed on the same machine as GitLab and approved in Broker Hub.
  • OpenLM Broker installed and configured to report to OpenLM Platform.

What you can monitor​

OpenLM Broker monitors the following for GitLab:

  • Report resolution: By minute
  • License totals: Yes
  • License usage: Yes
  • Denials reporting: Yes
  • Borrowed license reporting: No
  • Expiration date reporting: Yes
  • Multiple server redundancy: No

Configure OpenLM Broker​

The following diagram shows how OpenLM Broker interfaces with GitLab.

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

Add GitLab manually​

To add GitLab manually:

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

  2. Select License Managers, then Add License Manager.

  3. Select Gitlab, enter the port number, and select 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.

  6. Enter the GitLab credentials and save the file.

  7. Select Execute, then Apply.

  8. Confirm that the license data output appears.

    Broker UI with the GitLab license data output Select Execute, then Apply, and confirm that the license data output appears.

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

  10. Select Restart Broker.

Approve GitLab in OpenLM Platform​

To approve GitLab in OpenLM Platform:

  1. Sign in to OpenLM Platform with the URL your administrator gave you.
  2. From the menu, select License Servers, then Pending Server.
  3. Select the GitLab license manager, then select Approve and Merge.

Verify the integration​

To verify the integration:

  1. In OpenLM Platform, select License Servers Live, then Server Statistics.
  2. Confirm GitLab appears with a green status indicator.
Note

It can take up to 3 minutes for the status to update for a new connection.

The documentation team might draft this page using a large language model. A technical writer reviews every page and verifies it against the product before publishing it. A human makes the final decision.