################################################################# # couchdb ################################################################ #check process couchdb # with pidfile /usr/local/var/run/couchdb/couchdb.pid # start program = "/usr/local/etc/init.d/couchdb start" # stop program = "/usr/local/etc/init.d/couchdb stop" # if failed port 6984 then restart # if failed url https://localhost:6984/ and content == '"couchdb"' then restart #couchdb does not save the parent pid of the starting process so the above would serve no purpose check host couchdb with address localhost if failed port 6984 then alert if failed url https://localhost:6984/ and content == '"couchdb"' then alert group couchdb
Friday, October 21, 2011
Monitoring CouchDB with Monit
Just add the below in monitrc and reload config. I am expecting you hardened CouchDB and so it is listening in an SSL port. Note that couchdb is already monitored by heart so you can probably just not monitor it as well ;-)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment