Newer
Older
puppet-monit / templates / clamd.erb
@Andreas Jaggi Andreas Jaggi on 10 May 2013 466 bytes Fix typo
#
# automatically generated by puppet for <%= fqdn %>, DO NOT MODIFY!
#
check process clamd with pidfile /var/run/clamav/clamd.pid
	start program = "/etc/init.d/clamav-daemon start"
	stop program = "/etc/init.d/clamav-daemon stop"
	if failed host 127.0.0.1 port <%= clamd_port %> protocol CLAMAV for 5 cycle then restart
	<% clamd_ips.each do |clamd_ip| -%>
	if failed host <%= clamd_ip %> port <%= clamd_port %> protocol CLAMAV for 5 cycle then restart
	<%- end %>