]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adding nagios ping service on physical hosts
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 8 Jun 2010 03:28:12 +0000 (00:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 8 Jun 2010 03:28:12 +0000 (00:28 -0300)
manifests/physical.pp

index 38b2a1384f231cf1771318f39085479235f32c19..c2a9dbebc7c67a7173afbccd249c5afca0d983ce 100644 (file)
@@ -12,6 +12,7 @@ class nodo::physical inherits nodo {
 
   if $use_nagios != false {
     include nagios::target
+    nagios::service::ping { "$fqdn": }
   }
 
   # Time configuration