Created
July 1, 2013 17:53
-
-
Save codeprimate/5903024 to your computer and use it in GitHub Desktop.
Monit DenyHosts configuration for Ubuntu
This file contains hidden or 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
# Monit DenyHosts configuration for Ubuntu | |
check process denyhosts with pidfile /run/denyhosts.pid | |
start program = "/etc/init.d/denyhosts start" | |
stop program = "/etc/init.d/denyhosts stop" | |
if cpu > 90% for 2 cycles then alert | |
check file denyhosts.conf | |
with path /etc/denyhosts.conf | |
if changed checksum then alert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment