HI

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
====================
[email protected]
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to