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
Ghost Host
Re: Ghost Host
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
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!.
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!.
Re: Ghost Host
For future reference, the perfdata directory just holds temporary files used for graphing performance data from services.
Closing.
Closing.
Former Nagios employee