Checkmk 2.0 is here! See what's new.

Werk #1880: inventory_processes rules can now be configured without setting levels

Component Core & Setup
Title inventory_processes rules can now be configured without setting levels
Date Jan 27, 2015
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 1.2.7i1
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Since werk #1563 the levels configured in the rule {inventory_processes} are not interpreted anymore. If you used this rule to configure process discovery, you can now leave the last four elements (thresholds) of.

Note: If you use WATO for configuring process discovery, this change does not affect you.

To configure the thresholds, you need to use the {check_parameters} option like shown in the example below:

etc/check_mk/main.mk
# Old configuration style
inventory_processes += [
( ["sap", ], ALL_HOSTS, "SAP_ora_pmon_%s", "~ora_pmon_([A-Z][A-Z,0-9]{2,3})$",             GRAB_USER, 1, 1, 1, 1 ),
]

# new style configuration:

inventory_processes += [
( ["sap", ], ALL_HOSTS, "SAP_ora_pmon_%s", "~ora_pmon_([A-Z][A-Z,0-9]{2,3})$",             GRAB_USER),

check_parameters += [
( {'levels' : (1, 1, 1, 1)},  ALL_HOSTS, ['proc_SAP_ora_pmon_.*'] ),
]
To the list of all Werks