Skip to content

Instantly share code, notes, and snippets.

@bbg-deploy
Created June 26, 2013 15:34
Show Gist options
  • Save bbg-deploy/5868436 to your computer and use it in GitHub Desktop.
Save bbg-deploy/5868436 to your computer and use it in GitHub Desktop.
in-depth redis check for monit
if failed host 127.0.0.1 port 6379
send "SET MONIT-TEST value\r\n" expect "OK"
send "EXISTS MONIT-TEST\r\n" expect ":1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment