Add more README information about variables

This commit is contained in:
phil 2023-02-06 23:03:10 +01:00
parent e235933237
commit 00bdc94223
2 changed files with 17 additions and 2 deletions

View file

@ -6,6 +6,6 @@ check process apache with pidfile /run/apache2/apache2.pid
stop program = "/usr/sbin/service apache2 stop"
if cpu > 60% for 2 cycles then alert
if cpu > 80% for 5 cycles then restart
if totalmem > {{ apache_check_overrides.memory_limit | default(apache_check_memory_limit) }} for 3 cycles then restart
if totalmem > {{ apache.check_memory_limit | default(apache_check_memory_limit) }} for 3 cycles then restart
if children > 250 then restart
if 3 restarts within 5 cycles then timeout