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

Side by Side Diff: manifests/monitoringserver.pp

Issue 11464069: Set up statistics master server (Closed)
Patch Set: Created Aug. 23, 2013, 3:47 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, ssh, puppetmaster 2 include base, ssh, 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 vhost => 'monitoring.adblockplus.org', 9 vhost => 'monitoring.adblockplus.org',
10 htpasswd_source => 'puppet:///modules/private/nagios-htpasswd', 10 htpasswd_source => 'puppet:///modules/private/nagios-htpasswd',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 nagios_host {'server_12.adblockplus.org': use => 'generic-host'} 61 nagios_host {'server_12.adblockplus.org': use => 'generic-host'}
62 nagios_host {'server_13.adblockplus.org': use => 'generic-host'} 62 nagios_host {'server_13.adblockplus.org': use => 'generic-host'}
63 nagios_host {'server_14.adblockplus.org': use => 'generic-host'} 63 nagios_host {'server_14.adblockplus.org': use => 'generic-host'}
64 nagios_host {'server_15.adblockplus.org': use => 'generic-host'} 64 nagios_host {'server_15.adblockplus.org': use => 'generic-host'}
65 nagios_host {'server_16.adblockplus.org': use => 'generic-host'} 65 nagios_host {'server_16.adblockplus.org': use => 'generic-host'}
66 nagios_host {'server_17.adblockplus.org': use => 'generic-host'} 66 nagios_host {'server_17.adblockplus.org': use => 'generic-host'}
67 nagios_host {'server_18.adblockplus.org': use => 'generic-host'} 67 nagios_host {'server_18.adblockplus.org': use => 'generic-host'}
68 nagios_host {'server_19.adblockplus.org': use => 'generic-host'} 68 nagios_host {'server_19.adblockplus.org': use => 'generic-host'}
69 nagios_host {'server_20.adblockplus.org': use => 'generic-host'} 69 nagios_host {'server_20.adblockplus.org': use => 'generic-host'}
70 nagios_host {'server_21.adblockplus.org': use => 'generic-host'} 70 nagios_host {'server_21.adblockplus.org': use => 'generic-host'}
71 nagios_host {'server_22.adblockplus.org': use => 'generic-host'}
71 72
72 nagios_hostgroup {'all': members => '*'} 73 nagios_hostgroup {'all': members => '*'}
73 nagios_hostgroup {'http-servers': members => 'server_4.adblockplus.org, server _10.adblockplus.org, server_13.adblockplus.org, server_16.adblockplus.org, serve r_17.adblockplus.org, server_18.adblockplus.org, server_19.adblockplus.org, serv er_20.adblockplus.org, server_21.adblockplus.org'} 74 nagios_hostgroup {'http-servers': members => 'server_4.adblockplus.org, server _10.adblockplus.org, server_13.adblockplus.org, server_16.adblockplus.org, serve r_17.adblockplus.org, server_18.adblockplus.org, server_19.adblockplus.org, serv er_20.adblockplus.org, server_21.adblockplus.org, server_22.adblockplus.org'}
74 nagios_hostgroup {'filter-servers': members => 'server_1.adblockplus.org, serv er_3.adblockplus.org, server_5.adblockplus.org, server_6.adblockplus.org, server _7.adblockplus.org, server_8.adblockplus.org, server_9.adblockplus.org, server_1 1.adblockplus.org, server_12.adblockplus.org, server_14.adblockplus.org, server_ 15.adblockplus.org, server_19.adblockplus.org, server_20.adblockplus.org'} 75 nagios_hostgroup {'filter-servers': members => 'server_1.adblockplus.org, serv er_3.adblockplus.org, server_5.adblockplus.org, server_6.adblockplus.org, server _7.adblockplus.org, server_8.adblockplus.org, server_9.adblockplus.org, server_1 1.adblockplus.org, server_12.adblockplus.org, server_14.adblockplus.org, server_ 15.adblockplus.org, server_19.adblockplus.org, server_20.adblockplus.org'}
75 76
76 nagios_service {'current-load': 77 nagios_service {'current-load':
77 use => 'generic-service', 78 use => 'generic-service',
78 hostgroup_name => 'all', 79 hostgroup_name => 'all',
79 service_description => 'Current Load', 80 service_description => 'Current Load',
80 check_command => 'check_nrpe_1arg!check_load' 81 check_command => 'check_nrpe_1arg!check_load'
81 } 82 }
82 83
83 nagios_service {'disk-space': 84 nagios_service {'disk-space':
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 check_command => 'check_easylist_http' 123 check_command => 'check_easylist_http'
123 } 124 }
124 125
125 nagios_service {'bandwidth': 126 nagios_service {'bandwidth':
126 use => 'generic-service', 127 use => 'generic-service',
127 hostgroup_name => 'all', 128 hostgroup_name => 'all',
128 service_description => 'Bandwidth', 129 service_description => 'Bandwidth',
129 check_command => 'check_nrpe_1arg!check_bandwidth' 130 check_command => 'check_nrpe_1arg!check_bandwidth'
130 } 131 }
131 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld