[Top][All Lists]

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

Re: Question about matching

From: Martin Pala
Subject: Re: Question about matching
Date: Wed, 12 Sep 2012 09:41:23 +0200


the pattern based process check was added in Monit 5.2 ... you're most probably using some older version.


On Sep 12, 2012, at 9:37 AM, William Herry <address@hidden> wrote:


I am new to Monit and have a little question to ask

I follow some structor and setup monit
there file like this

# vi /etc/monit.d/mysqld.conf
# This file autogenerated by Chef
# Do not edit, changes will be overwritten
check process mysqld matching "mysqld"
  start program = "/usr/sbin/service mysqld start"
  stop program = "/usr/sbin/service mysqld stop"
  if 5 restarts within 5 cycles then timeout

when I try to start monit, it fail
Starting monit: /etc/monit.d/mysqld.conf:3: Error: syntax error 'matching'       [FAILED]

thanks in advs


William Herry



To unsubscribe:

reply via email to

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