- print_block files['services'], 'service', service, %w(nrpe runfrom remotecheck
- depends
- hosts hostgroups excludehosts excludehostgroups)
+ hosts.each{ |host|
+ s = service.clone
+ set_complain_if_set s, 'host_name', host, 'Service', s['service_description']
+ merge_contacts(servers[host], s)
+
+ print_block files['services'], 'service', s, %w(nrpe runfrom remotecheck
+ depends
+ hosts hostgroups excludehosts excludehostgroups)
+ }