Page 1 of 1

Unable to delete host

Posted: Wed Jul 19, 2023 8:56 am
by Tate
I am having I problem where I cannot delete a host and its services. I deleted the host from the Core Config Manager but I am unable to delete it from the initial menu you see on the dashboard where is shows hosts that are up.

Re: Unable to delete host

Posted: Fri Jul 21, 2023 12:39 am
by kg2857
If you can't apply the config, it tells you why. Post that info. It's often due to having a single host attached to services and not being allowed to have no hosts attached--syntax error.

Re: Unable to delete host

Posted: Fri Jul 21, 2023 8:12 am
by Tate
I had to roll back to a older config snapshot, then I was actually able to edit again, I think I may have broke it.

Re: Unable to delete host

Posted: Mon Aug 14, 2023 2:25 pm
by veloid1
Hello, its unfortunate that your host didn't delete. Each host monitors different services, the best way to check what services that are attached to each host is located: Core Config Manager>Hosts>Relationships(Under the "Actions" tab on the right)>Services.
My guess is one of the services got left behind and showing that a service was running under that IP address. If it causes issues try deleting all the services attached to that host FIRST and then deleting the host.

Here is also an article that can help resolve the problem
https://support.nagios.com/kb/article.php?id=5