1 Title: inventory_processes rules can now be configured without setting levels
10 Since werk #1563 the levels configured in the rule {inventory_processes} are not
11 interpreted anymore. If you used this rule to configure process discovery, you
12 can now leave the last four elements (thresholds) of.
14 Note: If you use WATO for configuring process discovery, this change does not affect you.
16 To configure the thresholds, you need to use the {check_parameters} option like
17 shown in the example below:
19 F+:etc/check_mk/main.mk
20 # Old configuration style
21 inventory_processes += [
22 ( ["sap", ], ALL_HOSTS, "SAP_ora_pmon_%s", "~ora_pmon_([A-Z][A-Z,0-9]{2,3})$", GRAB_USER, 1, 1, 1, 1 ),
25 # new style configuration:
27 inventory_processes += [
28 ( ["sap", ], ALL_HOSTS, "SAP_ora_pmon_%s", "~ora_pmon_([A-Z][A-Z,0-9]{2,3})$", GRAB_USER),
31 ( {'levels' : (1, 1, 1, 1)}, ALL_HOSTS, ['proc_SAP_ora_pmon_.*'] ),