Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: manifests/monitoringserver.pp

Issue 5889762565029888: Issue 2104 - Set up a test server for adblockplus.org content (Closed)
Patch Set: Created March 13, 2015, 3:56 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 node 'server4' { 1 node 'server4' {
2 include base, puppetmaster 2 include base, puppetmaster
3 3
4 class {'nagios::client': 4 class {'nagios::client':
5 server_address => 'monitoring.adblockplus.org' 5 server_address => 'monitoring.adblockplus.org'
6 } 6 }
7 7
8 class {'nagios::server': 8 class {'nagios::server':
9 domain => 'monitoring.adblockplus.org', 9 domain => 'monitoring.adblockplus.org',
10 certificate => 'monitoring.adblockplus.org_sslcert.pem', 10 certificate => 'monitoring.adblockplus.org_sslcert.pem',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 nagios_host {'filter14.adblockplus.org': use => 'generic-host'} 86 nagios_host {'filter14.adblockplus.org': use => 'generic-host'}
87 nagios_host {'filter15.adblockplus.org': use => 'generic-host'} 87 nagios_host {'filter15.adblockplus.org': use => 'generic-host'}
88 nagios_host {'filter16.adblockplus.org': use => 'generic-host'} 88 nagios_host {'filter16.adblockplus.org': use => 'generic-host'}
89 nagios_host {'filter17.adblockplus.org': use => 'generic-host'} 89 nagios_host {'filter17.adblockplus.org': use => 'generic-host'}
90 nagios_host {'filter18.adblockplus.org': use => 'generic-host'} 90 nagios_host {'filter18.adblockplus.org': use => 'generic-host'}
91 nagios_host {'filtermaster1.adblockplus.org': use => 'generic-host'} 91 nagios_host {'filtermaster1.adblockplus.org': use => 'generic-host'}
92 nagios_host {'notification1.adblockplus.org': use => 'generic-host'} 92 nagios_host {'notification1.adblockplus.org': use => 'generic-host'}
93 nagios_host {'notification2.adblockplus.org': use => 'generic-host'} 93 nagios_host {'notification2.adblockplus.org': use => 'generic-host'}
94 nagios_host {'update1.adblockplus.org': use => 'generic-host'} 94 nagios_host {'update1.adblockplus.org': use => 'generic-host'}
95 nagios_host {'web1.adblockplus.org': use => 'generic-host'} 95 nagios_host {'web1.adblockplus.org': use => 'generic-host'}
96 nagios_host {'web2.adblockplus.org': use => 'generic-host'}
96 nagios_host {'stats1.adblockplus.org': use => 'generic-host'} 97 nagios_host {'stats1.adblockplus.org': use => 'generic-host'}
97 nagios_host {'issues1.adblockplus.org': use => 'generic-host'} 98 nagios_host {'issues1.adblockplus.org': use => 'generic-host'}
98 nagios_host {'codereview1.adblockplus.org': use => 'generic-host'} 99 nagios_host {'codereview1.adblockplus.org': use => 'generic-host'}
99 100
100 nagios_hostgroup {'all': members => '*'} 101 nagios_hostgroup {'all': members => '*'}
101 nagios_hostgroup {'http-servers': members => 'server_4.adblockplus.org, server _10.adblockplus.org, server_16.adblockplus.org, download1.adblockplus.org, updat e1.adblockplus.org, web1.adblockplus.org, stats1.adblockplus.org, issues1.adbloc kplus.org, codereview1.adblockplus.org'} 102 nagios_hostgroup {'http-servers': members => 'server_4.adblockplus.org, server _10.adblockplus.org, server_16.adblockplus.org, download1.adblockplus.org, updat e1.adblockplus.org, web1.adblockplus.org, web2.adblockplus.org, stats1.adblockpl us.org, issues1.adblockplus.org, codereview1.adblockplus.org'}
102 nagios_hostgroup {'filter-servers': members => 'server_5.adblockplus.org, serv er_6.adblockplus.org, server_7.adblockplus.org, server_11.adblockplus.org, serve r_12.adblockplus.org, server_15.adblockplus.org, server_19.adblockplus.org, filt er1.adblockplus.org, filter2.adblockplus.org, filter3.adblockplus.org, filter4.a dblockplus.org, filter5.adblockplus.org, filter6.adblockplus.org, filter7.adbloc kplus.org, filter8.adblockplus.org, filter9.adblockplus.org, filter10.adblockplu s.org, filter11.adblockplus.org, filter12.adblockplus.org, filter13.adblockplus. org, filter14.adblockplus.org, filter15.adblockplus.org, filter16.adblockplus.or g, filter17.adblockplus.org, filter18.adblockplus.org, notification1.adblockplus .org, notification2.adblockplus.org'} 103 nagios_hostgroup {'filter-servers': members => 'server_5.adblockplus.org, serv er_6.adblockplus.org, server_7.adblockplus.org, server_11.adblockplus.org, serve r_12.adblockplus.org, server_15.adblockplus.org, server_19.adblockplus.org, filt er1.adblockplus.org, filter2.adblockplus.org, filter3.adblockplus.org, filter4.a dblockplus.org, filter5.adblockplus.org, filter6.adblockplus.org, filter7.adbloc kplus.org, filter8.adblockplus.org, filter9.adblockplus.org, filter10.adblockplu s.org, filter11.adblockplus.org, filter12.adblockplus.org, filter13.adblockplus. org, filter14.adblockplus.org, filter15.adblockplus.org, filter16.adblockplus.or g, filter17.adblockplus.org, filter18.adblockplus.org, notification1.adblockplus .org, notification2.adblockplus.org'}
103 104
104 nagios_service {'current-load': 105 nagios_service {'current-load':
105 use => 'generic-service', 106 use => 'generic-service',
106 hostgroup_name => 'all', 107 hostgroup_name => 'all',
107 service_description => 'Current Load', 108 service_description => 'Current Load',
108 check_command => 'check_nrpe_1arg!check_load' 109 check_command => 'check_nrpe_1arg!check_load'
109 } 110 }
110 111
111 nagios_service {'disk-space': 112 nagios_service {'disk-space':
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 check_command => 'check_nrpe_1arg!check_connections', 173 check_command => 'check_nrpe_1arg!check_connections',
173 } 174 }
174 175
175 nagios_service {'memory': 176 nagios_service {'memory':
176 use => 'generic-service', 177 use => 'generic-service',
177 hostgroup_name => 'all', 178 hostgroup_name => 'all',
178 service_description => 'Memory', 179 service_description => 'Memory',
179 check_command => 'check_nrpe_1arg!check_memory', 180 check_command => 'check_nrpe_1arg!check_memory',
180 } 181 }
181 } 182 }
OLDNEW
« no previous file with comments | « Vagrantfile ('k') | manifests/vagrant.pp » ('j') | manifests/webserver.pp » ('J')

Powered by Google App Engine
This is Rietveld