[Top][All Lists]

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

RE: Ordering of syntax check option

From: Mehul Ved
Subject: RE: Ordering of syntax check option
Date: Wed, 18 Jun 2014 18:14:51 +0000

I did bad work of searching it. Thanks.
From: address@hidden <address@hidden> on behalf of Jan-Henrik Haukeland 
Sent: Wednesday, June 18, 2014 10:03 PM
To: This is the general mailing list for monit
Subject: Re: Ordering of syntax check option

Reported here, 
and fixed in the next release

On 18 Jun 2014, at 05:10, Mehul Ved <address@hidden> wrote:

> Hi,
>   My monit file is in /etc/monit/monitrc, which isn't the usual path so when 
> I run
>  $ monit -t
> it fails to file the control file, which is the correct behaviour.
> To fix this, I tried
>  $ monit -c /etc/monit/monitrc -t
> which worked, as expected. But, when I did
>  $ monit -t -c /etc/monit/monitrc
> it gives the following error
>  'monit: Cannot find the control file at ~/.monitrc, /etc/monitrc, 
> /usr/local/etc/monitrc or at ./monitrc'
> The above is unexpected. Does the order of the options have to matter? I 
> believe this is a bug. If so, I'll file a bug report.

To unsubscribe:

reply via email to

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