Created
November 17, 2010 11:18
-
-
Save valguss/703282 to your computer and use it in GitHub Desktop.
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
| check process denyhosts with pidfile /var/lock/subsys/denyhosts | |
| group denyhosts | |
| start program = "/etc/init.d/denyhosts start" | |
| stop program = "/etc/init.d/denyhosts stop" | |
| depends on denyhosts_rc | |
| depends on denyhosts_bin | |
| check file denyhosts_rc with path /etc/init.d/denyhosts | |
| group denyhosts | |
| if failed checksum then unmonitor | |
| if failed permission 755 then unmonitor | |
| if failed uid root then unmonitor | |
| if failed gid root then unmonitor | |
| check file denyhosts_bin with path "/usr/bin/denyhosts.py" | |
| group denyhosts | |
| if failed checksum then unmonitor | |
| if failed permission 755 then unmonitor | |
| if failed uid root then unmonitor | |
| if failed gid root then unmonitor | |
| check file denyhosts.conf with path "/etc/denyhosts.conf" | |
| group denyhosts | |
| if changed checksum then alert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment