mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
update
This commit is contained in:
parent
5afc683b89
commit
529478307d
4
monit/monit/conf.d/network.cfg
Normal file
4
monit/monit/conf.d/network.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
check network eth0 with interface eth0
|
||||
if upload > 500 kB/s then alert
|
||||
if total download > 3 GB in last 2 hours then alert
|
||||
if total download > 30 GB in last day then alert
|
@ -1,3 +1,3 @@
|
||||
set httpd port 2812 and
|
||||
use address 0.0.0.0
|
||||
allow admin:monit
|
||||
allow admin:monit readonly
|
8
monit/monit/conf.d/system.cfg
Normal file
8
monit/monit/conf.d/system.cfg
Normal file
@ -0,0 +1,8 @@
|
||||
check system ss.datageek.info
|
||||
if loadavg (1min) > 4 then alert
|
||||
if loadavg (5min) > 2 then alert
|
||||
if memory usage > 80% then alert
|
||||
if swap usage > 25% then alert
|
||||
if cpu usage (user) > 70% then alert
|
||||
if cpu usage (system) > 30% then alert
|
||||
if cpu usage (wait) > 20% then alert
|
Loading…
Reference in New Issue
Block a user