Deleted Hosts still appear in Host Status Detail ...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Deleted Hosts still appear in Host Status Detail ...

Post by PhilG »

Hello:
I have upgraded to Nagios XI 5.8.3 yesterday, Sun. 5/16/2021.
I noted that my Infrastructure Team decommissioned 2 Hosts (with associated Services).
I deleted the Services via "CCM > Monitoring > Services", then Apply Configuration.
I deleted the Hosts via "CCM > Monitoring > Hosts", then Apply Configuration.
I notice that the Host Status Summary show 2 Hosts as Down, the Host Status displays both Hosts, and the Host Status Detail displays both Hosts.
However, in "CCM > Monitoring > Hosts", the Hosts are not found/listed/displayed, though.

How may I cleanup these Hosts?

Thank you.
Newbie '14
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Deleted Hosts still appear in Host Status Detail ...

Post by dchurch »

I've seen this issue before, especially when adding/removing hosts. Apply Config has some issues whereby it doesn't clobber some files in /usr/local/nagios/etc where it really should. This leads to deleted / deactivated hosts still being monitored.

As a workaround, instead of using Apply Config, if you go to to Config (top menu) -> Core Config Manager => Config File Management (left menu), then running Delete, Write, then Verify, and Restart. This is also tremendously helpful when diagnosing config problems because it will often reveal more problems with better error messages. (This is actually the process that the "Apply Config" button does under the hood.)
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Deleted Hosts still appear in Host Status Detail ...

Post by PhilG »

Okay, will have to do this after a Change Management request and get approval. I can't do this on Production systems without going through the Change Management process.

You can lock this post. If I have any issues after this is completed, I'll create a new post.

Thanks!
Newbie '14
Locked