Created
May 30, 2015 20:01
-
-
Save johnko/aeedfcbe813c81af0ddf to your computer and use it in GitHub Desktop.
monit couchdb by port
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################# | |
# 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