2
# Default "IDLE" process thresholds. Typically, an idle process
3
# should be doing very little, so this profile checks some simple
4
# process specific settings to see if we can find "busy" idle processes
6
# Length of test in seconds
10
# CPU loading, should be really low for idle processes, but it dependant on machines
13
health-check.cpu-load.cpu-load-total.total-cpu-percent 0.1
14
health-check.cpu-load.cpu-load-total.user-cpu-percent 0.05
15
health-check.cpu-load.cpu-load-total.system-cpu-percent 0.05
17
# Page faults, ignore these
19
#health-check.page-faults.page-faults-total.minor-page-faults-total-rate 10
20
#health-check.page-faults.page-faults-total.major-page-faults-total-rate 10
21
#health-check.page-faults.page-faults-total.total-page-faults-total-rate 10
23
# Wakeup Events, anything more than 1 a second is busy
25
health-check.wakeup-events.wakeup-events-total.wakeup-total-rate 0.25
27
# Context Switches, ignore these
29
#health-check.context-switches.context-switches-total.context-switch-total-rate 10
31
# Files, really should not be doing much so allow for 1 a minute top
33
health-check.file-access.file-access-total.access-count-total-rate 0.016666667
34
health-check.file-io-operations.file-io-operations-total.open-call-total-rate 0.016666667
35
health-check.file-io-operations.file-io-operations-total.close-call-total-rate 0.016666667
36
health-check.file-io-operations.file-io-operations-total.read-call-total-rate 0.016666667
37
health-check.file-io-operations.file-io-operations-total.write-call-total-rate 0.016666667
39
# System calls, ignore these
41
#health-check.system-calls.system-calls-total.system-call-count-total-rate 10
42
#health-check.polling-system-calls.polling-system-calls-total.system-call-total-rate 10
43
#health-check.polling-system-calls.polling-system-calls-total.poll-count-infinite-total-rate 10
44
#health-check.polling-system-calls.polling-system-calls-total.poll-count-zero-total-rate 0
46
# File system syncs, an idle process should not do any
48
health-check.file-system-syncs.sync-system-calls-total.fdatasync-call-count-total-rate 0
49
health-check.file-system-syncs.sync-system-calls-total.fsync-call-count-total-rate 0
50
health-check.file-system-syncs.sync-system-calls-total.sync-call-count-total-rate 0
51
health-check.file-system-syncs.sync-system-calls-total.syncfs-call-count-total-rate 0
53
# Memory usage, can't have a generic memory limit, so ignore
55
#health-check.memory-usage.memory-usage-total.stack-size-total-kbytes 1000000
56
#health-check.memory-usage.memory-usage-total.stack-rss-total-kbytes 1000000
57
#health-check.memory-usage.memory-usage-total.stack-pss-total-kbytes 1000000
58
#health-check.memory-usage.memory-usage-total.heap-size-total-kbytes 1000000
59
#health-check.memory-usage.memory-usage-total.heap-rss-total-kbytes 1000000
60
#health-check.memory-usage.memory-usage-total.heap-pss-total-kbytes 1000000
61
#health-check.memory-usage.memory-usage-total.mapped-size-total-kbytes 1000000
62
#health-check.memory-usage.memory-usage-total.mapped-rss-total-kbytes 1000000
63
#health-check.memory-usage.memory-usage-total.mapped-pss-total-kbytes 1000000
65
# Memory change, should not grow more than say 10K an hour
67
# health-check.memory-change.memory-change-total.
68
health-check.heap-usage-via-brk.heap-usage-via-brk-total.brk-size-total-Kbytes-rate 0.002777778
69
health-check.memory-usage-via-mmap.memory-usage-via-mmap-total.mmap-total-Kbytes-rate 0.002777778
71
# Network, should be fairly idle, buth there are quite a few socket connections
73
health-check.network-connections.network-connections-total.send-total-rate 256
74
health-check.network-connections.network-connections-total.receive-total-rate 256