We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #7185: Custom service attributes can now be configured

TitleCustom service attributes can now be configured
Date2019-02-26 13:09:42
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1
LevelProminent Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

It is now possible to configure arbitrary custom attributes for all services just like it was already possible for hosts and users in previous versions.

The configuration procedure is working equally, you first need to define an attribute in the first place, to be able to refer to the attribute and assign it to services. The definition of custom attributes is done using the Global Setting "Custom service attributes".

Once you have defined a custom service attribute, you can assign it to a collection of services using the equal named ruleset "Custom service attributes".

In general, you should keep the number of rules low. To support you in this, the rule is structured so that you can select several custom attributes for each rule.

The custom service attribute will be named _[ID] in the core configuration and can be gathered using the Livestatus column custom_variables using the [ID]. The custom service attributes are available to notification scripts as environment variable named SERVICE_[ID].