example42/puppet-monit — pull request #8 by MasonM (2014-05-21 16:13:35+00:00)
Title: Add support for checking processes by pattern matching

This involved adding a new class, `monit::checkprocessmatch`, which is very similar to `monit::checkpid`. It uses the same template as `monit::checkpid`, which I renamed for clarity.

Relevant docs: http://mmonit.com/monit/documentation/monit.html#check_process_unique_name_pidfile_path_matching_regex