From 79a8c80c0a85b90cf88d1ea134a5519bd9da788d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 3 Jun 2013 21:33:06 -0300 Subject: Implementing nagios on nodo::base::plug --- manifests/base/plug.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manifests/base/plug.pp') diff --git a/manifests/base/plug.pp b/manifests/base/plug.pp index 9ef4a08..6add09c 100644 --- a/manifests/base/plug.pp +++ b/manifests/base/plug.pp @@ -9,10 +9,18 @@ class nodo::base::plug { class { [ 'ntpdate', 'firewall' ]: } + # Backup backupninja::sys { "sys": ensure => present, } + # Monitoring + if !defined(Class['nodo::subsystem::monitor']) { + class { 'nodo::subsystem::monitor': + type => 'host', + } + } + # Munin configuration munin_node { "${::hostname}": port => '4900', -- cgit v1.2.3