File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ #pmieconf-rules 1
2+ # --- DO NOT MODIFY THIS FILE --- see pmieconf(5)
3+
4+ rule filesys.vfs_files
5+ summary = "$rule$"
6+ enumerate = hosts
7+ predicate =
8+ "some_host (
9+ vfs.files.count $hosts$ > 0 && vfs.files.max $hosts$ > 0 &&
10+ 100 * ( vfs.files.count $hosts$ / vfs.files.max $hosts$ ) > $threshold$
11+ )"
12+ enabled = yes
13+ version = 1
14+ help =
15+ "Number of allocated file handles (open file descriptors) is at or
16+ above a threshold percentage of the total available (maximum kernel
17+ enforced limit).";
18+
19+ percent threshold
20+ default = 90
21+ help =
22+ "The threshold of open file handles that has been allocated compared
23+ to the maximum number available, expressed as a percentage.";
24+
25+ string rule
26+ default = "Approaching open file descriptor limit"
27+ modify = no
28+ display = no;
29+
30+ string action_expand
31+ default = %vopen@%h
32+ display = yes
33+ modify = no;
34+
35+ string email_expand
36+ default = "host: %h open files: %v"
37+ display = no
38+ modify = no;
39+
40+ #
41+ # --- DO NOT MODIFY THIS FILE --- see pmieconf(5)
42+
Original file line number Diff line number Diff line change @@ -34,3 +34,4 @@ __pcp_pmieconf_rules:
3434 - network/tcpqfulldrops
3535 - power/thermal_throttle
3636 - zeroconf/all_threads
37+ - filesys/vfs_rules
You can’t perform that action at this time.
0 commit comments