kiss server monitoring tool with email alerts
go
monitoring
1alert_thresholds:
2 cpu:
3 threshold: 90
4 duration: 5m0s
5 cooldown: 30m0s
6 memory:
7 threshold: 80
8 cooldown: 30m0s
9 http:
10 url: http://localhost:8080/health
11 timeout: 5s
12 sample_rate: 10
13 failure_threshold: 20
14 check_interval: 1m0s
15 cooldown: 15m0s
16email:
17 smtp_server: smtp.example.com
18 from: alerts@example.com
19 to: admin@example.com
20 username: alertuser
21 password: alertpassword