Got Blorped?

Tech Blog

Monit configuration file for SSHD

without comments

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 host 188.40.81.196 port 2499 protocol ssh then restart
if 5 restarts within 5 cycles then timeout

Written by admin

August 9th, 2009 at 12:18 pm

Posted in Monit

Leave a Reply