Skip to content

Instantly share code, notes, and snippets.

@johnko
Created May 30, 2015 20:01
Show Gist options
  • Save johnko/aeedfcbe813c81af0ddf to your computer and use it in GitHub Desktop.
Save johnko/aeedfcbe813c81af0ddf to your computer and use it in GitHub Desktop.
monit couchdb by port
#################################################################
# couchdb
################################################################
#check process couchdb by port number
check host couchdb with address localhost
if failed port 5984 then alert
if failed url https://localhost:5984/ and content == '"couchdb"' then alert
group couchdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment