Add automatic Label depending on Linux Distribution
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
Under consideration Suggested by: mike • Upvoted: 22 Mar • Comments: 8
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 rules
Please create or use a naming scheme!!!!
I suggest to have a look at the Elastic Common Scheme:
Then use these labels to create dashboards, views, default rules, ...
And provide all of this as MKPs.
Thomas Lippert Admin
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 Version
AIX also has different versions ;-)
oldie but goldie
Would 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
All Informations are already available if you are using the Inventory
Inventory Tree -> Operating System (software.os)
So shouldn't be such a biggy
Thanks 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