*/15 * * * * root find /var/lib/icinga/status.dat -mmin +20 | grep -q . && service icinga restart
| EOF
}
+
+ # The nagios server wants to do DNS queries on the primaries
+ @@ferm::rule::simple { "dsa-bind-from-${::fqdn}":
+ tag => [
+ 'named::primary::ferm',
+ 'named::keyring::ferm',
+ ],
+ description => 'Allow nagios master access to the primary for checks',
+ proto => ['udp', 'tcp'],
+ port => 'domain',
+ saddr => $base::public_addresses,
+ }
}