[monit] Set memory usage alert at 50% (#2939)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
This commit is contained in:
parent
769d3b303c
commit
b9e9f29955
@ -265,7 +265,7 @@ sudo tee -a $FILESYSTEM_ROOT/etc/monit/monitrc > /dev/null <<'EOF'
|
|||||||
check filesystem root-aufs with path /
|
check filesystem root-aufs with path /
|
||||||
if space usage > 90% for 5 times within 10 cycles then alert
|
if space usage > 90% for 5 times within 10 cycles then alert
|
||||||
check system $HOST
|
check system $HOST
|
||||||
if memory usage > 90% for 5 times within 10 cycles then alert
|
if memory usage > 50% for 5 times within 10 cycles then alert
|
||||||
if cpu usage (user) > 90% for 5 times within 10 cycles then alert
|
if cpu usage (user) > 90% for 5 times within 10 cycles then alert
|
||||||
if cpu usage (system) > 90% for 5 times within 10 cycles then alert
|
if cpu usage (system) > 90% for 5 times within 10 cycles then alert
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user