[Top][All Lists]

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

Question about matching

From: William Herry
Subject: Question about matching
Date: Wed, 12 Sep 2012 15:37:15 +0800


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



reply via email to

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