title: GitLab: Version update check
agents: gitlab
catalog: app/gitlab
license: MIT
distribution: check_mk
description:
 Compares the installed GitLab version against the latest available release and
 reports whether an update is available. The latest version comes either from
 the Docker Hub image tags (gitlab/gitlab-ee|ce, needs internet on the Checkmk
 server) or from a manually pinned target version for air-gapped setups.

 When an update is available the service is {WARN} (configurable via the rule
 "GitLab version update check"). A failed lookup keeps the service {OK} by
 default so an air-gapped Checkmk server does not create noise.

 This service is only created when the update check is enabled in the special
 agent rule "GitLab via REST API".

discovery:
 One service is created if the update check is enabled and the agent returned
 update information.
