naparuba/shinken — pull request #295 by lermit (2012-04-20 15:52:20+00:00)
Title: Add support to (a new) explode_hostgroup directive

It would be fine to be able to explode an hostgroup in service dependency configuration.

For exemple with a configuration like this one

define servicedependency {
hostgroup_name linux
service_description snmp processus
dependent_service_description cpu,load_average,disks,memory,network,apache processus
explode_hostgroup 1
}

The explode_hostgroup option explodes all host of specified hostgroup and add some services dependencies for each specified services. This would be shorter than

define servicedependency {
host_name linux1
service_description snmp processus
dependent_service_description cpu,load_average,disks,memory,network,apache processus
dependent_host_name linux1
}
define servicedependency {
host_name linux2
service_description snmp processus
dependent_service_description cpu,load_average,disks,memory,network,apache processus
dependent_host_name linux2
}
...