Newer
Older
puppet-monit / templates / bind.erb
@root root on 3 May 2012 548 bytes Initial import
#
# automatically generated by puppet for <%= fqdn %>, DO NOT MODIFY!
#
check process named with pidfile /var/run/named/named.pid
	start program = "/etc/init.d/bind9 start"
	stop  program = "/etc/init.d/bind9 stop"
	if failed host 127.0.0.1 port 53 type tcp protocol dns then restart
	if failed host 127.0.0.1 port 53 type udp protocol dns then restart
	<% bind_ips.each do |bind_ip| -%>
	if failed host <%= bind_ip %> port 53 type tcp protocol dns then restart
	if failed host <%= bind_ip %> port 53 type udp protocol dns then restart
	<%- end %>