This is a cache of https://support.nagios.com/kb/article/nagios-xi-unable-to-delete-host-5.html. It is a snapshot of the page at 2025-05-14T00:09:12.836+0000.
Nagios <strong>xi</strong> - Unable to Delete Host
Home » Categories » Products » Nagios xi » Troubleshooting » Common Problems

Nagios xi - Unable to Delete Host

Problem Description

In Nagios xi when trying to delete or deactivate a host through the Core Configuration Manager, you may get the following error (or one similar to it) in a red box near the top of your screen:

 

 

Resolving The Problem

In order to delete or deactivate a host, you must first delete or deactivate all of the services and other objects that are attached to it. 

  • Using services as an example, click the Services link in the left-hand navigation pane of the Core Configuration Manager. 

  • Next, use the search bar to find the services that are attached to the host you wish to delete. 

  • Usually these will be named after the host, so you can simply search for the host name. 

  • However if they are not named after the host (possibly because they were created manually or the name was changed) then you will need to search for them directly using the names as they appeared in the red error box.

 

Searching for services in the CCM

 

  • Once you have found the attached services you can select which to delete or deactivate by checking their individual checkboxes, located to the left of their entries in the search results table. 

  • To select or deselect all of the displayed services, you may check or uncheck the box to the left of the words "Config Name" at the top of the table. 

  • Once you have the desired services selected, you can use the "With Checked" dropdown box located beneath the search results table to choose your desired action. 

  • Choosing Delete will remove the services from the Core Configuration Manager database, while Deactivate will leave them but not apply them to the active configuration - this is useful if you may need to reactivate the services later.

Once you have deleted or deactivated the services, you may go back to the host and delete or deactivate it as well.

 

Additional Information

In addition to services, there may also be service dependencies, host dependencies, service escalations, host escalations, service templates or hostgroups that are either attached to or otherwise reference the host you are attempting to delete.  These will similarly need to be deleted or deactivated and will be referenced in the error displayed when attempting to delete the host.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

3.67 (3)
Article Rating (3 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
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 13356 times since Tue, Jan 26, 2016
Nagios xi - Upgrade errors - root.crontab.orig: cannot overwrite existing file
Viewed 4765 times since Tue, Jan 26, 2016
Nagios xi - Modifying The Contents Of /usr/local/nagios/etc
Viewed 7249 times since Tue, Jan 26, 2016
Nagios xi - Common Upgrade Failures And Solutions
Viewed 14562 times since Thu, Jun 29, 2017
OpenSSL causes issue with check_nrpe plugin with NSClient++
Viewed 9396 times since Fri, Apr 30, 2021
Nagios xi - Unable To Login Using Two Factor Authentication
Viewed 9239 times since Tue, Apr 10, 2018
Nagios xi - CentOS 6 Installation Problems xi 2011R1.7 2011R1.8
Viewed 5214 times since Tue, Feb 2, 2016
Nagios xi - MySQL/MariaDB - Max Connections
Viewed 73638 times since Thu, Jun 2, 2016
Nagios xi - Oracle Services Critical After Nagios xi Upgrade
Viewed 6468 times since Wed, Jan 27, 2016
Nagios xi - How To Use CA Certificates With check_ldaps Plugin
Viewed 12609 times since Tue, Jul 26, 2016