Cleanup config.nodes_of
[check_mk.git] / .werks / 8560
blob0d98f47d975df2f750753a97813393d04f0c5337
1 Title: Check_MK helpers: Output warning message to cmc.log when detecting new open file descriptors after running checks
2 Level: 1
3 Edition: cee
4 Component: cmc
5 Compatible: compat
6 Version: 1.4.0i2
7 Date: 1477405117
8 Class: feature
10 In case a helper detects that it has new open file descriptors after performing checks, it writes
11 lines like these to the cmc.log:
13 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >> Open file descriptors changed after %d cycles. Currently open:
14 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   0 -> socket:[1030046]
15 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   1 -> pipe:[1030047]
16 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   2 -> pipe:[1030047]
17 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   3 -> socket:[1030046]
18 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   4 -> /tmp/x
19 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   5 -> UNKNOWN
20 2016-10-25 16:15:59 [4] [Check_MK helper 11344] >>   6 -> /dev/urandom
22 This may help detect and debug file descriptor leaks.