title: NetBox: Version update check
agents: netbox
catalog: app/netbox
license: GPLv2
distribution: check_mk
description:
 Compares the installed NetBox version against the latest available release and
 reports whether an update is available. The latest version comes either from
 the netbox-community/netbox GitHub releases API (needs internet access on the
 Checkmk server; the result is cached) or from a manually pinned target version
 for air-gapped setups.

 When an update is available the service is {WARN} (configurable via the rule
 "NetBox 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 "NetBox via REST API".

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