check process syntax error for mmonit

Issue #215 resolved
Vovodroid created an issue

I add following service to monit.rc: check process mmonit matching mmonit
Load or syntax check fails with message monit.rc:41: syntax error 'mmonit'

If I use regex like check process mmonit matching \mmonit it works

Comments (3)

  1. Tildeslash repo owner

    Hello,

    "mmonit" is reserved word (used in "set mmonit" statement), just wrap it with quotes:

    check process mmonit matching "mmonit"
    
  2. Log in to comment