Code:
Process Name = apache
Group = apache
Pid file = /var/run/apache2.pid
Monitoring mode = active
Start program = '/etc/init.d/apache2 start' timeout 60 second(s)
Stop program = '/etc/init.d/apache2 stop' timeout 30 second(s)
Pid = if changed 1 times within 1 cycle(s) then alert
Ppid = if changed 1 times within 1 cycle(s) then alert
Port = if failed 127.0.0.1:80 [HTTP via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
Children = If greater than 250 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
CPU usage limit = if greater than 90.0% 5 times within 5 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
CPU usage limit = if greater than 70.0% 2 times within 2 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Timeout
--======================================--
--== Beitrag erstellt: 17:19 um 16:54 ==--
--== geantwortet auf Beitrag vom ==--
--== automatische Beitragszusammenführung ==--
--======================================--
Flori12345 schrieb nach 25 Minuten und 23 Sekunden:
Code:
if failed host 127.0.0.1 port 80 protocol http then restart
wenn das weg is dann geht eskomisch