[Top][All Lists]

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

Re: Config working on CentOS 5 stopped working on CentOS 6

From: Stas Oskin
Subject: Re: Config working on CentOS 5 stopped working on CentOS 6
Date: Thu, 19 Nov 2015 21:39:56 +0200


The monit log shows only the general start-up information.

There is no messages about the processes going offline, it's like monit does not use the pid file to find the process anymore.

When I use HTTP port probing though it works just fine. Any idea what could it be?


On Sun, Nov 15, 2015 at 9:16 PM, Martin Pala <address@hidden> wrote:

please can you provide more details about the problem? (error messages and/or monit log).

Note that monit 5.9 includes fix for program execution for CentOS6/RHEL6, we recommend upgrade to latest monit version (5.15), you can get it here: You can build rpm directly from the source code release: rpmbuild -tb monit-5.15.tar.gz. I think RHEL uses custom configuration file, official monit looks for /etc/monitrc, so you may need to rename the configuration file or create a link after upgrade.


> On 14 Nov 2015, at 16:51, Stas Oskin <address@hidden> wrote:
> Hi,
> Monit has reliably served us through the years, and we are very happy of it.
> Unfortunately during scheduled migration to CentOS 6 due CentOS 5 EOL, we discovered it stopped monitoring the services pid files. HTTP monitoring works fine.
> The CentOS 6 version is:
> monit-5.1.1-4.el6.x86_64
> CentOS 5 version is:
> monit-4.10.1-8.el5
> An example config that not working anymore (but accepted by monit when starting):
> check process XXXX with pidfile /XXXX/pid/
>     start program  "/etc/init.d/xxxxx restart"
>     stop program  "/etc/init.d/xxxxxx stop"
>     if mem usage > 85% then restart
>     if 5 restarts within 5 cycles then timeout
> I guess something changed in configuration jump from 4 to 5, will appreciate any advice.
> Thanks!
> --
> To unsubscribe:

To unsubscribe:

reply via email to

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