monit-general
[Top][All Lists]
Advanced

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

Syntax error using exec statement in monit.conf


From: Donal McNamee
Subject: Syntax error using exec statement in monit.conf
Date: Mon, 24 Jul 2006 11:40:35 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060516)

Hi,

Can someone tell me what's wrong with the syntax of the following line in my monit.conf?

   if 3 restarts within 3 cycles then exec "/my/program"

It's giving me the following error when Monit tries to start
   /etc/monit.conf:88: Error: syntax error 'exec "'

but I can't see the problem. For example the statment
   if failed unixsocket /var/run/AvpCtl then exec "/my/program"
works perfectly.

Can anyone see where I'm going wrong? (Using monit 4.8.1)

Thanks!





reply via email to

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