Ghost Host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nottheadmin
Posts: 53
Joined: Thu Dec 19, 2013 9:51 am
Location: Amsterdam, NL

Ghost Host

Post by nottheadmin »

I have a host that is no longer present on the network, have deleted the services and host from ccm but it's still there as a big critical alert.

I just looked in /usr/local/nagios/etc/hosts/ and sure enough, the <hostname>.cfg file is there.

I have searched around the forum and tried a few things, killall nagios etc..

Can I just delete it or will that break everything?

Cheers
M
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Ghost Host

Post by tmcdonald »

That's exactly what you need to do. See the following: http://support.nagios.com/wiki/index.ph ... t_Hosts.29
Former Nagios employee
nottheadmin
Posts: 53
Joined: Thu Dec 19, 2013 9:51 am
Location: Amsterdam, NL

Re: Ghost Host

Post by nottheadmin »

OK I did that, removed it from /usr/local/nagios/etc/hosts, it was not in /usr/local/nagios/etc/services.

Wrote and verified the config files in CCM and then restarted nagios.

It's still there, triggering a critical alert.

find / -name <stickyhostname> reveals that there is still a file in /usr/local/nagios/share/perfdata/<stickyhostname>

Do i delete that as well?

edit: OK nevermind, I think I have got ride of it now.

You can can close this now, Thanks!.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Ghost Host

Post by tmcdonald »

For future reference, the perfdata directory just holds temporary files used for graphing performance data from services.

Closing.
Former Nagios employee
Locked