glances.conf 3.2 KB
Newer Older
1
[cpu]
2 3 4
careful=50
warning=70
critical=90
A
Alessio Sergi 已提交
5 6
# Limit values for CPU user in %
# Default values if not defined: 50/70/90
7
user_careful=50
8 9
user_warning=70
user_critical=90
A
Alessio Sergi 已提交
10 11
# Limit values for CPU system in %
# Default values if not defined: 50/70/90
12 13 14
system_careful=50
system_warning=70
system_critical=90
A
Alessio Sergi 已提交
15 16 17
# Limit values for CPU iowait in %
# Default values if not defined: 40/60/80
# Not easy to tweak...
N
Nicolas Hennion 已提交
18
# Source: http://blog.scoutapp.com/articles/2011/02/10/understanding-disk-i-o-when-should-you-be-worried
19 20 21 22 23
#         http://blog.logicmonitor.com/2011/04/20/troubleshooting-server-performance-and-application-monitoring-a-real-example/
#         http://blog.developpeur-neurasthenique.fr/auto-hebergement-iowait-ma-tuer-1-2-vmstat-mpstat-atop-pidstat.html (FR)
iowait_careful=40
iowait_warning=60
iowait_critical=80
A
Alessio Sergi 已提交
24 25
# Limit values for CPU steal in %
# Default values if not defined: 10/15/20
26
# Source: http://blog.scoutapp.com/articles/2013/07/25/understanding-cpu-steal-time-when-should-you-be-worried
A
Alessio Sergi 已提交
27 28 29
steal_careful=10
steal_warning=15
steal_critical=20
30 31

[load]
A
Alessio Sergi 已提交
32 33
# Value * number of cores
# Default values if not defined: 0.7/1.0/5.0 per number of cores
A
asergi 已提交
34
# Source: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
35
#         http://www.linuxjournal.com/article/9001
36 37 38 39 40
careful=0.7
warning=1.0
critical=5.0

[memory]
A
Alessio Sergi 已提交
41 42
# Default limits for free RAM memory in %
# Default values if not defined: 50/70/90
43 44 45 46 47
careful=50
warning=70
critical=90

[swap]
A
Alessio Sergi 已提交
48 49
# Default limits for free swap memory in %
# Default values if not defined: 50/70/90
50 51 52 53 54
careful=50
warning=70
critical=90

[temperature]
55
# Temperatures in °C for sensors
A
Alessio Sergi 已提交
56
# Default values if not defined: 60/70/80
57 58 59 60
careful=60
warning=70
critical=80

61 62
[hddtemperature]
# Temperatures in °C for hddtemp
A
Alessio Sergi 已提交
63
# Default values if not defined: 45/52/60
64 65 66 67
careful=45
warning=52
critical=60

68
[filesystem]
A
Alessio Sergi 已提交
69 70
# Default limits for free filesytem space in %
# Default values if not defined: 50/70/90
71 72 73
careful=50
warning=70
critical=90
N
Nicolas Hennion 已提交
74 75

[process]
A
Alessio Sergi 已提交
76 77
# Limit values for CPU per process in %
# Default values if not defined: 50/70/90
N
Nicolas Hennion 已提交
78 79 80
cpu_careful=50
cpu_warning=70
cpu_critical=90
A
Alessio Sergi 已提交
81 82
# Limit values for MEM per process in %
# Default values if not defined: 50/70/90
N
Nicolas Hennion 已提交
83 84 85
mem_careful=50
mem_warning=70
mem_critical=90
86

87
[iodisk]
A
Alessio Sergi 已提交
88
# Define the list of hidden disks (comma separated)
89 90 91
#hide=sda2,sda5

[network]
A
Alessio Sergi 已提交
92
# Define the list of hidden network interfaces (comma separated)
93 94
#hide=lo

95
[monitor]
N
Nicolas Hennion 已提交
96
# Define the list of processes to monitor
A
Alessio Sergi 已提交
97 98
# *** This section is optional ***
# The list is composed of items (list_#nb <= 10)
99 100 101
# An item is defined:
# * description: Description of the processes (max 16 chars)
# * regex: regular expression of the processes to monitor
N
Nicolas Hennion 已提交
102
# * command: (optional) full path to shell command/script for extended stat
N
Nicolas Hennion 已提交
103
#            Use with caution. Should return a single line string.
104 105 106 107
# * countmin: (optional) minimal number of processes
#             A warning will be displayed if number of process < count
# * countmax: (optional) maximum number of processes
#             A warning will be displayed if number of process > count
108 109 110 111 112 113 114 115 116
#list_1_description=Redis server
#list_1_regex=.*redis-server.*
#list_1_command=echo "Additional stats"
#list_2_description=Python programs
#list_2_regex=.*python.*
#list_2_countmin=1
#list_2_countmax=8
#list_3_description=Famous Xeyes
#list_3_regex=.*xeyes.*