Skip to content

Instantly share code, notes, and snippets.

@AdamMagaluk
Created November 26, 2013 00:39
Show Gist options
  • Select an option

  • Save AdamMagaluk/7651513 to your computer and use it in GitHub Desktop.

Select an option

Save AdamMagaluk/7651513 to your computer and use it in GitHub Desktop.
Monit config for gw.
check host GW-lans-1 address 166.250.67.37
if failed port 9191 type tcp
with timeout 10 seconds for 3 cycles
then alert
if failed port 2222 type tcp
with timeout 10 seconds for 3 cycles
then alert
if failed host 127.0.0.1 port 51201 type tcp
with timeout 10 seconds for 3 cycles
then alert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment