If there is a certain number of hosts, services or users matching a pattern
it's reasonable to assign the group object to these members.
-Details on the `assign where` syntax can be found [here](#group-assign)
+Details on the `assign where` syntax can be found [here](#apply)
object HostGroup "mssql" {
display_name = "MSSQL Servers"
to the defined notifications. That way you'll save duplicated attributes in each
`Notification` object. Attributes can be overridden locally.
-
template Notification "generic-notification" {
interval = 15m
A group of hosts.
+> **Best Practice**
+>
+> Assign host group members using the [group assign](#group-assign) rules.
+
Example:
object HostGroup "my-hosts" {
> Rather than creating a `Service` object for a specific host it is usually easier
> to just create a `Service` template and use the `apply` keyword to assign the
> service to a number of hosts.
+> Check the [apply](#using-apply) chapter for details.
Example:
A group of services.
+> **Best Practice**
+>
+> Assign service group members using the [group assign](#group-assign) rules.
+
Example:
object ServiceGroup "snmp" {
A user group.
+> **Best Practice**
+>
+> Assign user group members using the [group assign](#group-assign) rules.
+
Example:
object UserGroup "icingaadmins" {
> usually easier to just create a `Notification` template and use the `apply` keyword
> to assign the notification to a number of hosts or services. Use the `to` keyword
> to set the specific target type for `Host` or `Service`.
+> Check the [notifications](#notifications) chapter for detailed examples.
Example:
> to just create a `ScheduledDowntime` template and use the `apply` keyword to assign the
> scheduled downtime to a number of hosts or services. Use the `to` keyword to set the specific target
> type for `Host` or `Service`.
+> Check the [recurring downtimes](#recurring-downtimes) example for details.
Example:
> to just create a `Dependency` template and use the `apply` keyword to assign the
> dependency to a number of hosts or services. Use the `to` keyword to set the specific target
> type for `Host` or `Service`.
+> Check the [dependencies](#dependencies) chapter for detailed examples.
Example: