Host Group Definition |
Format: | hostgroup[<group_name>]=<group_alias>;<contact_groups>;<hosts> |
Example: | hostgroup[nt-servers]=All NT Servers;nt-admins;rosie,dev,liatris |
A host group definition is used to group one or more hosts together for the purposes of simplifying notifications. Each host that you define must be a member of at least one host group - even if it is the only host in that group. Hosts can be in more than one host group. When a host goes down, becomes unreachable, or recovers, NetSaint will find which host group(s) the host is a member of, get the contact group for each of those hostgroups, and notify all contacts associated with those contact groups. This may sound complex, but for most people it doesn't have to be. It does, however, allow for flexibility in determining who gets paged for what kind of problems. The different arguments to a host group definition are outlined below.
<group_name> | This is a short name used to identify the host group. |
<group_alias> | This is a longer name or description used to identify the host group. It is provided in order to allow you to more easily identify a particular host group. |
<contact_groups> | This is a list of the short names of the contact groups that should be notified whenever there are problems (or recoveries) with any of the hosts in this host group. Multiple contact groups should be separated by commas. |
<hosts> | This is a list of the short names of hosts that should be included in this group. Multiple host names should be separated by commas. |