monitore fcgiwrap par regex sous jessie
Aveu de faiblesse
This commit is contained in:
parent
794543edf1
commit
120d67dd52
1 changed files with 8 additions and 1 deletions
|
@ -76,7 +76,14 @@ if has('nginx'):
|
|||
if has('php'):
|
||||
service(name='php5-fpm', extra=["if failed host localhost port 80 protocol http and request '/php_ping' timeout 20 seconds for 5 cycles then restart"])
|
||||
if has('cgi'):
|
||||
service(name='fcgiwrap', pidp='/var/run/fcgiwrap.pids')
|
||||
if has('wheezy'):
|
||||
service(name='fcgiwrap', pidp='/var/run/fcgiwrap.pids')
|
||||
else:
|
||||
out("""# fcgiwrap
|
||||
check process fcgiwrap matching fcgiwrap
|
||||
start program = "/etc/init.d/fcgiwrap start"
|
||||
stop program = "/etc/init.d/fcgiwrap stop"
|
||||
if 5 restarts within 5 cycles then timeout""")
|
||||
|
||||
if has('radio'):
|
||||
service(None, name='radio-vlc', start_cmd = "/etc/init.d/radio start", stop_cmd = "/etc/init.d/radio stop", pidp='/tmp/multicast.pid')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue