aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-06-06 23:40:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-06-06 23:40:31 -0300
commit3c41c630e12d91187b11c8facee3032691cf3ee5 (patch)
treec72ab9b9d0aedb498a4433ec26de6cf3b9fc8caf
parentc39b3239900f3eec40f00fa412b8f8879ae71cc1 (diff)
downloadpuppet-nodo-3c41c630e12d91187b11c8facee3032691cf3ee5.tar.gz
puppet-nodo-3c41c630e12d91187b11c8facee3032691cf3ee5.tar.bz2
Initial nagios support
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/master.pp1
-rw-r--r--manifests/physical.pp1
3 files changed, 3 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c9e5329..157b4db 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -38,6 +38,7 @@ import "postfix"
import "reprepro"
import "ssl"
import "autossh"
+import "nagios"
# Import subsystems
import "subsystems/firewall.pp"
diff --git a/manifests/master.pp b/manifests/master.pp
index e6d7722..5e1c049 100644
--- a/manifests/master.pp
+++ b/manifests/master.pp
@@ -7,6 +7,7 @@ class nodo::master {
if $main_master == true {
include puppetmasterd
include munin::host
+ include nagios
# The main master has a host entry pointing to itself, other
# masters still retrieve catalogs from the main master.
diff --git a/manifests/physical.pp b/manifests/physical.pp
index 51fd155..4b16d4e 100644
--- a/manifests/physical.pp
+++ b/manifests/physical.pp
@@ -9,6 +9,7 @@ class nodo::physical inherits nodo {
include ups
include utils::physical
include smartmontools
+ include nagios::target
# Time configuration
case $ntpdate {