Created
November 17, 2010 11:10
-
-
Save valguss/703276 to your computer and use it in GitHub Desktop.
Check to see if SSHD is ok.
This file contains 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
## SSHD monit config , http://www.securecentos.com | |
## Modified 25/7-2008 | |
check process sshd with pidfile /var/run/sshd.pid | |
start program "/etc/init.d/sshd start" | |
stop program "/etc/init.d/sshd stop" | |
if failed port 2345 protocol ssh then restart | |
if 5 restarts within 5 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment