title: GitLab: License
agents: gitlab
catalog: app/gitlab
license: MIT
distribution: check_mk
description:
 Reports the GitLab Enterprise Edition license: plan, licensee, and the number
 of licensed vs. currently billable (active) users. Warns before the license
 expires (lower levels on the remaining days, so there is time to order a new
 one; default WARN at 30 days, CRIT at 7), is {CRIT} once expired, and warns
 when the billable users exceed the license limit. All configurable via the
 rule "GitLab license".

 Requires an administrator access token and a licensed self-hosted EE instance
 (GET /license). Enable it in the special agent rule.

discovery:
 One service is created when license information is returned.
