[Top][All Lists]

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

Re: Configuring a warning using a shell script

From: Jan-Henrik Haukeland
Subject: Re: Configuring a warning using a shell script
Date: Sat, 3 May 2014 00:17:28 +0200

On 02 May 2014, at 23:52, Jason Levitt <address@hidden> wrote:

> I've been sitting here for an hour or more. Shouldn’t I see some warnings in 
> M/Monit?

Absolutely, if the program fails and if in your .monitrc file you have ’set 
daemon x’ where x is a number and you have waited 2 * x seconds. 

I suspect there might be a problem with your script or with your .monitrc 
configuration. In cases like this, it can be useful to run Monit in debug mode 
to see what it does. Start Monit like so in your terminal:

$ monit -Iv

and Monit should start printing what it does and hopefully you will see what 
the problem is. To stop Monit in this mode, just do CTRL+C. If this didn’t 
share some light on the problem, please post your script here so we can have a 

reply via email to

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