Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. set logfile /var/log/monit.log
  2. check process test.sh with pidfile /home/svcs/test/pid/app.pid
  3. start program = "/etc/init.d/test.sh start" with timeout 60 seconds
  4. stop program = "/etc/init.d/test.sh stop" with timeout 60 seconds
  5. if failed host xx.xx.com port 443
  6. type tcpSSL protocol http with timeout 15 seconds retry 3 then restart
  7. alert xx@xx.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement