X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fnagios%2Fmanifests%2Fserver.pp;h=4db55d98bc7339e13da47c7f4e05676a9b6c9238;hb=18f26a9ca182f25cbdfc4c1532e2d34898295e92;hp=2e7b1eba0ed8a202fb108bf65605817716f26e3a;hpb=368e147f10b8e748f7e171a15568a94d79599039;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/manifests/server.pp b/modules/nagios/manifests/server.pp index 2e7b1eba0..4db55d98b 100644 --- a/modules/nagios/manifests/server.pp +++ b/modules/nagios/manifests/server.pp @@ -162,4 +162,11 @@ class nagios::server { target => '/etc/nagios/nrpe.d/debianorg.cfg', content => "allowed_hosts=${ $base::public_addresses.join(', ') }", } + # and we want to monitor smtp servers + @@ferm::rule::simple { "dsa-smtp-from-nagios-${::fqdn}": + tag => 'smtp::server::to::mail-satellite', + description => 'Allow smtp access from the nagios server', + port => '7', # will be overwritten on collection + saddr => $base::public_addresses, + } }