[Top][All Lists]

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

Re: [monit-dev] monitrc doesnt exist

From: Brian Candler
Subject: Re: [monit-dev] monitrc doesnt exist
Date: Fri, 13 Jun 2008 12:01:17 +0100
User-agent: Mutt/1.5.11

On Fri, Jun 13, 2008 at 11:33:21AM +0200, pierrick grasland wrote:
>    I encounter this problem to on debian, so I don't think it's from the
>    packaging.

Did you use a debian package, or did you compile monit yourself from source?

If the former, then it sounds very much like a packaging problem.

Furthermore, what exact version of monit are you running?

Looking at the source code of 4.10.1, I see that exactly the same logic is
used for reading the config file with or without -t. The difference the -t
flag makes is to *stop* monit from running after it has read the config

  if(! parse(Run.controlfile)) {



   * Stop and report success if we are just validating the Control
   * file syntax. The previous parse statement exits the program with
   * an error message if a syntax error is present in the control
   * file.
  if(Run.testing) {

    LogInfo("Control file syntax OK\n");




reply via email to

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