Allow nagios to ssh to our hosts
[mirror/dsa-puppet.git] / modules / nagios / manifests / server.pp
index 4db55d9..a67e17e 100644 (file)
@@ -169,4 +169,11 @@ class nagios::server {
     port        => '7', # will be overwritten on collection
     saddr       => $base::public_addresses,
   }
+  # and we want to monitor ssh
+  @@ferm::rule::simple { "dsa-ssh-from-nagios-${::fqdn}":
+    tag         => 'ssh::server::from::nagios',
+    description => 'Allow ssh access from the nagios server',
+    chain       => 'ssh',
+    saddr       => $base::public_addresses,
+  }
 }