Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 1880
blob184a01ae7b836f3ed7e355cc4bc9981a28b89e4b
1 Title: inventory_processes rules can now be configured without setting levels
2 Level: 2
3 Component: core
4 Class: fix
5 Compatible: compat
6 State: unknown
7 Version: 1.2.7i1
8 Date: 1422355345
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),
30 check_parameters += [
31   ( {'levels' : (1, 1, 1, 1)},  ALL_HOSTS, ['proc_SAP_ora_pmon_.*'] ),
33 F-: