Add a automatic Label depending on Linux Dsitribution, so plugins like YUM or APT
can be selektiv installed based on Distribution (Agentbakery)
lnxdistribution: ubuntu // lnxdistribution:centos
in the meantime HW/SW Inventory and https://github.com/HeinleinSupport/check_mk_extensions/tree/cmk2.0/data2label would be a workaround I guess
Why only Linux?Make it for all OS if you do it... Think big!
...and add more Labels for everything that can be usable for basic rulesPlease create or use a naming scheme!!!!I suggest to have a look at the Elastic Common Scheme:https://www.elastic.co/de/blog/introducing-the-elastic-common-schemahttps://www.elastic.co/guide/en/ecs/current/index.htmlhttps://github.com/elastic/ecsThen use these labels to create dashboards, views, default rules, ...And provide all of this as MKPs.
This can be done by distribution (aka redhat, suse, debian, ubuntu, ...) or should this go even further towards distribution & version (aka debian9, debian10, ...).Linux has distributions, while Windows or AIX does not have this. Windows has multiple edition of the server
@Thomas so far half of the installations I've seen doing it MINIMUM on Distribution AND VersionAIX also has different versions ;-)@Christianoldie but goldieWould be nice, but I dont think so.There could be so much stuff directly automated in combination with the inventory to make filtering and daily business so much more efficient...
This extension sets labels based on the information from /etc/os-release: https://exchange.checkmk.com/p/lsbrelease
Checkmk already discovers the operating system families as "cmk/os_family:linux" and "cmk/os_family:windows". It should be rather easily possible to discover something like "cmk/os_distribution:ubuntu" and/or "cmk/os_distribution_version:22.04". This could be done to an extent, like Ansible does, e.g.:
This can probably be done for Windows and other operating systems similarly.
We have an extension that does this by reading /etc/os-release on Linux systems: https://exchange.checkmk.com/p/lsbrelease
Please implement the Checkmk Partners! solution in the master.But please implement it for all OS (Windows, Linux, Unix, BSD, AIX, etc.).The Agent in the GUI has to be shown the OS and version.Thanks
Hello Robertthe lsbrelease is spawning a new service is it possible to but the information of the missing OS version in the service summary "Check_MK" which already contains the info of the OS but not the missing OS version?This would be perfect.
All Informations are already available if you are using the InventoryInventory Tree -> Operating System (software.os)So shouldn't be such a biggy@RobertThanks for sharing. But adding more and more MKPs where we as Customers need to check on every upgrade if they are still working and for some of us even not possible as third party - not really an option. Much likely works fpr the KMU
This does the trick pretty well: https://exchange.checkmk.com/p/set-os-label
"Discover labels for the operating system (Distribution and/or OS version)" (suggested by Robin Gierse on 2022-12-16), including upvotes (12) and comments (3), was merged into this suggestion.
Planned for Checkmk 2.3
is it confirmed its for all and not only for Linux?
@Daniel: We plan to support all operating systems, not only Linux.
This feedback board is powered by Feature Upvote.
When submitting your email with a suggestion or comment, Feature Upvote uses your email to
Your email is never displayed to other users. Checkmk staff will be able to see your email address.
Feature Upvote's Acceptable Use Policy can be summarized as:
Read the full Acceptable Use Policy (in English)
We’ll email you when the status of the suggestion changes. You can unsubscribe at any time with a single click.