configuration-templates – Blame information for rev 29

Subversion Repositories:
Rev:
Rev Author Line No. Line
29 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 check process smartd with pidfile /var/run/smartd.pid
6 group system
7 group smartd
8 start program = "/etc/init.d/smartmontools start"
9 stop program = "/etc/init.d/smartmontools stop"
10 if 5 restarts with 5 cycles then timeout
11 depend smartd_bin
12 depend smartd_rc
13  
14 check file smartd_bin with path /usr/sbin/smartd
15 group smartd
16 include /etc/monit/templates/rootbin
17  
18 check file smartd_rc with path "/etc/init.d/smartmontools"
19 group smartd
20 include /etc/monit/templates/rootbin
21