-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmynotes.sample.conf
More file actions
69 lines (54 loc) · 1.96 KB
/
mynotes.sample.conf
File metadata and controls
69 lines (54 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Time out settings
timeout_agent = 15
timeout_cache = 10
timeout_client = 10
timeout_no_reply = 60
# buffer size: use upper bound Content-Length as a key
buffer_size = {102400:4096, 512000:8192, 1048576:16384, float('inf'):32768}
# max clients option for AsyncHTTPClient
http_max_clients = 15
# failed connections before removing
max_instance_failed = 5
# logging settings
logging= 'DEBUG'
stats_enabled = True
log_to_stderr = True
rrd_enabled = True
rrd_reset = False #rrd file should be recreated
stats_period = 60 #1 minute
#rra depend on period
# Round Robin Archives (RRA) settings
rrd_rra = [
(1,720), #60->720 samples of 1 minute |(hour)--> (12 hours)
(5,1440), #1440 samples of 5 minutes (day)
(60,168), #168 samples of 1 hour (week)
(1440,60), #60 samples of 1 day (2 months)
(43200,12), #12 samples of 1 month (year)
]
server = 'mynotes.your_domain.com'
sites = [
('mynotes.your_domain.com','8081'),
('mynotes.your_domain.com','8082'),
]
master = ('mynotes.your_domain.com','8081')
monitor_graph_path = '../'
# graphics settings - graphical representations to be created
# graphics = {size: ([graph_periods], [graph_types])}
# size: 'S','M','L' are acceptable values
# graph_periods: RRDTool time offset specifications: '1h', '1day', '1m', etc.
# graph_types: hardcoded internal graph names. None means all of existing types.
graphics = {
'S': [ (['6h'], ['cpu-max', 'bytes-max', 'agents_u-max', 't_completed-max', 't_unique-max', 'duration-max']),],
'M': [
(['1h','3h','6h','12h','1day','3day','7day','1m'],['cpu','bytes','agents_u','t_completed','t_unique','duration']),
(['6h'], ['cpu-max', 'bytes-max', 'agents_u-max', 't_completed-max', 't_unique-max', 'duration-max']),
]
}
alert_over = 900000 #900000 mcs/sec = 90%
alert_threshold = 0.3
alert_grace_period = 1800
alert_from = 'MyNotes Your_Domain'
alert_sender = 'mynotes@mynotes.your_domain.com'
alert_receivers = ['mynotes_admin@your_domain.com']
alert_log = 'log/monitor.sent'
alert_smtp = 'your_domain.com'