Index: manifests/monitoringserver.pp |
=================================================================== |
--- a/manifests/monitoringserver.pp |
+++ b/manifests/monitoringserver.pp |
@@ -54,20 +54,21 @@ node 'server4' { |
nagios_host {'server_5.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_6.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_7.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_8.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_9.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_10.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_11.adblockplus.org': use => 'generic-host'} |
nagios_host {'server_12.adblockplus.org': use => 'generic-host'} |
+ nagios_host {'server_13.adblockplus.org': use => 'generic-host'} |
nagios_hostgroup {'all': members => '*'} |
- nagios_hostgroup {'http-servers': members => 'server_4.adblockplus.org, server_10.adblockplus.org'} |
- nagios_hostgroup {'filter-servers': members => 'server_1.adblockplus.org, server_3.adblockplus.org, server_5.adblockplus.org, server_6.adblockplus.org, server_7.adblockplus.org, server_8.adblockplus.org, server_9.adblockplus.org'} |
+ nagios_hostgroup {'http-servers': members => 'server_4.adblockplus.org, server_10.adblockplus.org, server_13.adblockplus.org'} |
+ nagios_hostgroup {'filter-servers': members => 'server_1.adblockplus.org, server_3.adblockplus.org, server_5.adblockplus.org, server_6.adblockplus.org, server_7.adblockplus.org, server_8.adblockplus.org, server_9.adblockplus.org, server_11.adblockplus.org, server_12.adblockplus.org'} |
nagios_service {'current-load': |
use => 'generic-service', |
hostgroup_name => 'all', |
service_description => 'Current Load', |
check_command => 'check_nrpe_1arg!check_load' |
} |