Closed xnicolovici closed 9 years ago
Hi,
Thank you for your PR. Apparently, this set of options works fine with Monit 5 but does not exist in Monit 4. Could you add documentation and a condition or a exception about the version to enable or not these options ?
Thanks a lot in advance. Regards,
Hi,
Thanks for the feedback. As I'm not using any Monit agent release 4, I was not aware of that. So, I've added a check on the use of the $mmonit_* options and the release of Monit agent. If it's not compatible, then the module will fail:
fail('M/Monit option (via mmonit_* parameters needs Monit agent >= 5')
A warning has been added in the module doc:
WARNING: If this option is set, and Monit agent version is less than 5, then module will fail (this option is available in Monit Agent version 5 and above.
Hi,
Thank you for your fork of my module (https://github.com/echoes-tech/puppet-monit). I merged your work on my own branch.
Thanks a lot for your contribution.
Regards,
Added in the sametime support for CentOS 7 (config file is /etc/monitrc, not /etc/monit.conf)