GitLab
Follow these steps to configure OpenLM to monitor license usage and retrieve statistics from GitLab.
Requirements
- OpenLM Platform
- 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:
| Item | Value |
|---|---|
| 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 |
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 through the Broker UI
-
Open Broker UI at http://localhost:5090/.
-
Go to License Managers -> Add License Manager.
-
Select Gitlab, enter the port number, and click Add.
-
In the Commands node, select Data Inquiry and enter the GitLab API endpoint for users, for example:http://FQDN:80/api/v4/users
-
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. -
In Broker, click Execute, then Apply. Ensure the license data output is displayed.
-
Under Vendors, select the vendor placeholder node, enter GitLab, and click Apply.
-
Click Restart Broker.
Configure OpenLM Platform
-
Log in to OpenLM Platform.
-
From Menu, go to License Servers.
On left menu, select Pending Server -
On left menu, select Pending Server
-
On the list, select the Gitlab license manager and click on Approve and Merge
Verifying the configuration -
In OpenLM Web Interface -> Menu -> License Servers Live -> Server Statistics.
-
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.