configuration-templates – Blame information for rev 50

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
50 office 8 depend smartd_bin
9 depend smartd_rc
29 office 10 start program = "/etc/init.d/smartmontools start"
11 stop program = "/etc/init.d/smartmontools stop"
50 office 12 # if 5 restarts with 5 cycles then timeout
29 office 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