-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathconfig-sample.yml
39 lines (37 loc) · 1.11 KB
/
config-sample.yml
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
settings:
hipchat_key: ''
pagerduty_key: ''
graphite_url: 'http://localhost:8080'
graphite_auth_user: foo
graphite_auth_password: bar
redisurl: 'redis://localhost:6379'
log_file: './log/graphite-alerts.log'
log_level: debug
alerts:
- target: servers.zip.system.load.load
name: system load
from: -10min
check_method: average
notifiers: ['mail']
rules:
- greater than .5:
warning
- greater than 1:
critical
- less than 3:
nothing
- target: servers.*.system.load.load # smart historical alerts
name: system load
from: -10min
check_method: historical
notifiers: ['mail']
historical: summarize(target, "1hour", "avg") from -2days
rules:
- less than 0.1:
warning
- less than 3:
nothing
- greater than historical * 2:
critical
- greater than historical * 1.1:
warning