Chef cookbook for the monit monitoring and management tool.
How to add to your cookbook repository
Download the tarball
It's up on the opscode cookbook community site.
Vendor via knife
$ knife cookbook site download monit
Track upstream changes via git
I use git submodules for my chef repos so I can push/pull changes with minimal hassle.
For more info, check out the Pro Git book.
Add the monit repo
$ cd YOUR_REPO_ROOT $ git submodule add git://github.com/apsoto/monit.git cookbooks/monit
- add name to metadata.rb. Thanks Chulki Lee (https://github.com/chulkilee)
- create /etc/monit/conf.d. Thanks Karel Minarik (https://github.com/karmi)
- Released to github
- Defaults no alert on ACTION event. When you manually stop/start a service, alerting me about what I just did isn't useful.