Unable to delete host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
Tate
Posts: 8
Joined: Wed Jul 19, 2023 8:26 am

Unable to delete host

Post 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.
kg2857
Posts: 499
Joined: Wed Apr 12, 2023 5:48 pm

Re: Unable to delete host

Post 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.
Tate
Posts: 8
Joined: Wed Jul 19, 2023 8:26 am

Re: Unable to delete host

Post 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.
veloid1
Posts: 6
Joined: Wed Aug 09, 2023 9:51 am

Re: Unable to delete host

Post 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
Vadmin
Post Reply