1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
This commit is contained in:
kev 2015-07-02 19:50:46 +08:00
parent 5afc683b89
commit 529478307d
3 changed files with 13 additions and 1 deletions

View 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

View File

@ -1,3 +1,3 @@
set httpd port 2812 and
use address 0.0.0.0
allow admin:monit
allow admin:monit readonly

View 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