Prise en charge de logread (logs pris par thot) par monit.
This commit is contained in:
parent
acc6ff1d22
commit
8e13d4f6f4
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue