ANXS / monit

Ansible role that configures monit. Will also setup baseline monitoring of SSH, NTP, and Cron.
MIT License
37 stars 20 forks source link

Option to install latest version of monit, instead of version in `apt` repo? #9

Open dylancwood opened 8 years ago

dylancwood commented 8 years ago

Thank you for the great role.

I recently ran into an issue where the version of Monit in the apt repo (5.6) does not support some critical functionality (run check program ... as uid.., which was added in 5.9).

How do you feel about a PR that adds the option to retrieve the compiled monit executable from a URL?

farridav commented 8 years ago

Sure its certain not uncommon for apt repos to be behind, and optionally installing from source is great way to circumvent that, would you fetch it from the monit downloads (e.g - https://mmonit.com/monit/dist/binary/5.15/monit-5.15-linux-x64.tar.gz) or clone the repo using a variable tag and build it? If you want to put something up to this affect id be happy to take a look :)

otakup0pe commented 8 years ago

I'd be open to that PR. The nginx/nodejs roles kinda have the option of toggling between source vs package install.