monit-general
[Top][All Lists]
Advanced

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

Config working on CentOS 5 stopped working on CentOS 6


From: Stas Oskin
Subject: Config working on CentOS 5 stopped working on CentOS 6
Date: Sat, 14 Nov 2015 17:51:11 +0200

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/XXXXX.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!

reply via email to

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