Prise en charge de logread (logs pris par thot) par monit.

This commit is contained in:
Gabriel Detraz 2014-11-15 02:56:30 +01:00
parent acc6ff1d22
commit 8e13d4f6f4

View file

@ -45,3 +45,8 @@ check process sshd with pidfile /var/run/dropbear.1.pid
check program watch_net with path "/usr/share/watch_net/watch_net.sh"
if status != 0 then alert
check process logread with pidfile /var/run/logread.1.pid
start program "/sbin/logread start"
stop program "/sbin/logread stop"
if 5 restarts within 5 cycles then timeout