Skip to content

Added host labels for the checkmk agents version - #951

Open
lbuhleie wants to merge 2 commits into
Checkmk:masterfrom
svalabs:feature/checkmk_agent_version_label
Open

Added host labels for the checkmk agents version#951
lbuhleie wants to merge 2 commits into
Checkmk:masterfrom
svalabs:feature/checkmk_agent_version_label

Conversation

@lbuhleie

Copy link
Copy Markdown
Contributor

General information

With this two new host labels are being introduced, to help with host filtering and matching:

cmk/agent_version
cmk/agent_version_major
image

Proposed changes

Until now, an agents version could only be found out with either the "Check_MK Agent" Service or the HW-/SW-Inventory. Both could be used for filtering in views, but especially if you want to match rules only on hosts that have a specific version this was simply not possible.
But with this PR, every host that has an installed Checkmk agent will discover those two host labels. One for the major version like "2.4.0" or "2.5.0" and one with the exact version like "2.5.0p11". One for broad filtering and one for exact filtering. This enables users to more easily filter in dashboards and views for specific agent versions and administrators to match rules only for specific agent versions, e.g. if you want to disable the "System Time" Service for all hosts, that already have a 2.5.0 Checkmk Agent, as with this there come the new "Windows time service" services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant