Hi, the pattern based process check was added in Monit 5.2 ... you're most probably using some older version.
Regards, Martin On Sep 12, 2012, at 9:37 AM, William Herry <[email protected]> wrote: > 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
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
