OLD | NEW |
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 check_command => 'check_notification_http' | 138 check_command => 'check_notification_http' |
139 } | 139 } |
140 | 140 |
141 nagios_service {'bandwidth': | 141 nagios_service {'bandwidth': |
142 use => 'generic-service', | 142 use => 'generic-service', |
143 hostgroup_name => 'all', | 143 hostgroup_name => 'all', |
144 service_description => 'Bandwidth', | 144 service_description => 'Bandwidth', |
145 check_command => 'check_nrpe_1arg!check_bandwidth', | 145 check_command => 'check_nrpe_1arg!check_bandwidth', |
146 first_notification_delay => '15' | 146 first_notification_delay => '15' |
147 } | 147 } |
| 148 |
| 149 nagios_service {'connections': |
| 150 use => 'generic-service', |
| 151 hostgroup_name => 'all', |
| 152 service_description => 'Connections', |
| 153 check_command => 'check_nrpe_1arg!check_connections', |
| 154 } |
| 155 |
| 156 nagios_service {'memory': |
| 157 use => 'generic-service', |
| 158 hostgroup_name => 'all', |
| 159 service_description => 'Memory', |
| 160 check_command => 'check_nrpe_1arg!check_memory', |
| 161 } |
148 } | 162 } |
OLD | NEW |