Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set logfile /var/log/monit.log
- check process test.sh with pidfile /home/svcs/test/pid/app.pid
- start program = "/etc/init.d/test.sh start" with timeout 60 seconds
- stop program = "/etc/init.d/test.sh stop" with timeout 60 seconds
- if failed host xx.xx.com port 443
- type tcpSSL protocol http with timeout 15 seconds retry 3 then restart
- alert xx@xx.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement