Feature #1058

Optionally allow empty hostgroup assigment for services

Added by dnsmichi over 3 years ago. Updated about 3 years ago.

Status:ResolvedStart date:12/17/2010
Priority:NormalDue date:
Assignee:Wolfgang% Done:

100%

Category:Core
Target version:Icinga 1.x - 1.3

Description

# ALLOW EMPTY HOSTGROUP ASSIGMENT FOR SERVICES
# This boolean option determines whether services assigned to empty
# host groups (host groups with no host members) will cause Icinga to
# exit with error on start up (or during a configuration check) or not.
# The default behavior if the option is not present in the main
# configuration file is for Icinga to exit with error if services are
# associated with host groups that have no hosts associated with them.

#allow_empty_hostgroup_assignment=0
+<a name="allow_empty_hostgroup_assignment"></a>

+<table border="0" width="100%" class="Default">
+
+<tr>
+
+<td bgcolor="#cbcbcb"><strong>Allow Empty Hostgroup Assignment</strong></td>
+
+</tr>
+
+</table>
+
+<br>
+
+<table border="0" class="Default">
+
+<tr>
+
+<td>Format:</td>
+
+<td><strong>allow_empty_hostgroup_assignment=[01]</strong></td>

+</tr>
+
+<tr>
+
+<td>Example:</td>

+<td><font color="red"><strong>allow_empty_hostgroup_assignment=1</strong></font></td>
+
+</tr>
+
+</table>
+
+
+
+<p>
+This boolean option determines whether services assigned to empty host groups (host groups with no host members) will cause Nagios to exit with error on start up (or during a configuration check) or not.  The default behavior if the option is not present in the main configuration file is for Nagios to exit with error if services are associated with host groups that have no hosts associated with them.  Enabling this option can be useful when:
+</p>
+
+<ul>
+  <li> Configuration files or pre-cached object files are distributed across many Nagios pollers. </li>
+  <li> Automation is used to generate a Nagios configuration file tree. </li>
+  <li> There is one set of services maintained by administrators that users may add to their hosts through host group membership for convenience (e.g. a suite of checks associated with a remote monitoring agent) but there is no guarantee that users will use the services associated with the host group (e.g. a remote agent that is being deprecated over time).</li>
+</ul>


Related issues

Related to Core - Feature #949: Optionally allow empty hostgroup assigment for services Resolved 11/02/2010

History

#1 Updated by Wolfgang about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Wolfgang
  • % Done changed from 0 to 100

pushed to git master (406636d020472a1ff6c84f3fc839bbdd6bb8af15)

Also available in: Atom PDF