[monit] rajout de nginx
Ignore-this: 9a741a3d0ba8e1fcd5f4a7ac835392c C'était déjà géré sur komaz et routeur. On l'étend à irc (webirc) et o2 (intranet). darcs-hash:20130123224830-28565-a168dee60af56c840e4e2834af72c276cfc71a08.gz
This commit is contained in:
parent
7b8e0ab05d
commit
09c05265f7
2 changed files with 12 additions and 7 deletions
|
@ -50,6 +50,8 @@ service("apache",
|
|||
],
|
||||
max_restart=3)
|
||||
|
||||
service('nginx')
|
||||
|
||||
service("at",
|
||||
init="atd",
|
||||
pidf="atd")
|
||||
|
@ -229,13 +231,6 @@ if hostname in ['routeur']:
|
|||
@ stop program = "/etc/init.d/igmpproxy stop"
|
||||
@ if 5 restarts within 5 cycles then timeout
|
||||
@
|
||||
if hostname in ['routeur', 'komaz']:
|
||||
@# nginx
|
||||
@check process nginx with pidfile /var/run/nginx.pid
|
||||
@ start program = "/etc/init.d/nginx start"
|
||||
@ stop program = "/etc/init.d/nginx stop"
|
||||
@ if 5 restarts within 5 cycles then timeout
|
||||
@
|
||||
|
||||
# on ne monitore pas les disques de canard
|
||||
if hostname in ['canard'] :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue