Thema: Monit
Einzelnen Beitrag anzeigen
Alt 17.03.2013, 16:19   #10
Flori12345
Profi
Punkte: 22.222, Level: 92 Punkte: 22.222, Level: 92 Punkte: 22.222, Level: 92
Levelaufstieg: 88% Levelaufstieg: 88% Levelaufstieg: 88%
Aktivität: 0% Aktivität: 0% Aktivität: 0%
Letzte Erfolge
 
Benutzerbild von Flori12345
 
Registriert seit: 22.06.2008
Alter: 38
Beitr?ge: 867
Abgegebene Danke: 188
Erhielt 82 Danke für 8 Beiträge
Downloads: 106
Uploads: 0
Nachrichten: 6
Renommee-Modifikator:
0 Flori12345 ist in Verruf geratenFlori12345 ist in Verruf geratenFlori12345 ist in Verruf geratenFlori12345 ist in Verruf geratenFlori12345 ist in Verruf geratenFlori12345 ist in Verruf geratenFlori12345 ist in Verruf geraten
Standard

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

Ge?ndert von Cerberus (17.03.2013 um 16:22 Uhr)
Flori12345 ist offline   Mit Zitat antworten Nach oben