monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit wont start for somer eason


From: Martin Pala
Subject: Re: monit wont start for somer eason
Date: Thu, 26 Aug 2010 21:53:05 +0200

The custom action in "if <x> restarts within <y> cycles" is supported since Monit 5.1 - it seems that you have older Monit version

Regards,
Martin


On Aug 26, 2010, at 9:43 PM, Josh Sharpe wrote:

check process order_approval with pidfile /rails/veloracing/current/tmp/pids/order_approval.pid
   if 2 restarts within 2 cycles then exec "ls"


$ sudo monit
/etc/monit/conf.d/app.conf:2: Error: syntax error 'exec "'

Why?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]