Home » Categories » Products » Nagios XI » Documentation » Advanced Topics

Parent/Child Host Relationships

Parent/Child Host Relationships

In the CCM (Core Configuration Manager) within Nagios XI, you can define a parent for a host by using the Manage Parents functionality on the Manage Hosts page. Generally, parent hosts are routers, switches, firewalls, etc... that lie between the monitoring host (Nagios XI) and the remote hosts. Parent/child relationships help Nagios XI figure out host reach-ability. If the parent host is down, the child hosts will be considered unreachable. Building these relationships can prevent duplicate notifications and escalations.

It is advantageous to create parent/child relationships at the start of your Nagios XI setup so that you'll see the full benefit from a notifications, visualization (hypermap), and alerts standpoint.

Advantages of the Parent/Child Relationship

  • Host parent definitions allow an administrator, through the Nagios XI interface, to define a hierarchy of connectivity to monitored hosts from the Nagios XI server.

  • If the parent host enters a DOWN state, it triggers Nagios XI’s host reachability logic to automatically determine which child hosts become inaccessible, and flags these as UNREACHABLE rather than DOWN, allowing notifications to only be sent for the parent host. Users will not be inundated with unnecessary notifications.

  • After the relationships are setup in Nagios XI, parent/child relationships and statuses can be viewed graphically and in real time in the Hypermap or the Network Status Map, saving the administrator time in troubleshooting host issues.

To create a parent host relationship:

  1. Navigate to Configure > Core Config Manager > Hosts.

  2. Select a child host name to edit.

  3. Click the Manage Parents button on the Host Management page.

  4. On the resulting Manage Parents popup, select the parent host or hosts and click Add Selected.

  5. Click the Close button.

  6. Save and Apply Configuration.

Further Information on Manage Parents

This function is used to define a comma-delimited list of short names of the "parent" hosts for this particular host. A router, switch, etc. which is closest to the remote host is considered to be that host's "parent". Read the Determining Status and Reachability of Network Hosts document for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored.

NOTE: You can view relationships of a host by clicking on the relationships icon within the Actions column on the Hosts page.

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Integrating On-Call Schedules with Nagios - NWC13
Viewed 5333 times since Tue, Feb 9, 2016
Nagios XI - Integrating autoIT With Nagios
Viewed 4722 times since Wed, Jan 27, 2016
How To Download Files From The Nagios Exchange Using WGET
Viewed 11646 times since Tue, Aug 2, 2016
Nagios XI - Using the Negate Plugin
Viewed 6805 times since Thu, Jan 28, 2016
Nagios XI - Automated Host Management In Nagios XI
Viewed 5794 times since Wed, Jan 27, 2016
Nagios XI - Plain Text Password Considerations
Viewed 10920 times since Mon, Jun 18, 2018
Nagios XI - Understanding the Nagios XI Directory Structure
Viewed 5974 times since Thu, Jan 28, 2016
Nagios XI - BPI XML Cache
Viewed 4547 times since Thu, Mar 9, 2017
PHP 7.2 to 7.4 Upgrade Instructions for CentOS Stream 8
Viewed 3486 times since Wed, Feb 2, 2022
Migrating Nagios XI to a different Server
Viewed 13319 times since Tue, Feb 16, 2021