Can't remove Ghost Services Hosts
Posted: Wed Feb 18, 2015 2:58 am
Hello, i thought i had posted this before but for some reason my post didn't come through.
I have problems with ghost/phantom hosts and services:



My Hosts and Services both look empty: the same goes for nagios core they are not visible in core.
Also something i've noticed is that somehow it tried to resolve to server 352 instead of 354? Both hostname and alias were sr0354.
Core:

What have i tried to resolve this problem with no result:
1: Terminal -> killall -9 nagios -> service nagios stop/start
2: ps -e | grep nagios -> kill $(pgrep nagios) -> service nagios stop/start
3: Removed all files that could have something to do with this in \usr\local\nagios\etc (only localhost was in there) same goes for hostgroups servicegroups none were there)
4: Listed all config files with timestamps to see if there are any other .cfg host/services files. (only localhost, which i deleted and restored)
5: Basically scanned through this: http://support.nagios.com/wiki/index.ph ... t_Hosts.29
6: Verified that the hosts do not exist in the rewritten config files.
7: CCM -> Delete hosts/services -> Write configs to file -> Verify configs (if it gave me errors i fixed them)
8: Rebooted Nagios XI server multiple times, also no result
9: No errors in tail -f /var/log/messages
10: service ndo2db stop -> killall -9 ndo2db -> service ndo2db start -> service ndo2db status
11: checked if broker was commented out: (broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg) nope
12: Still troubleshooting..
Please advise, should i just reinstall again -.-'?
I have problems with ghost/phantom hosts and services:



My Hosts and Services both look empty: the same goes for nagios core they are not visible in core.
Also something i've noticed is that somehow it tried to resolve to server 352 instead of 354? Both hostname and alias were sr0354.
Core:

What have i tried to resolve this problem with no result:
1: Terminal -> killall -9 nagios -> service nagios stop/start
2: ps -e | grep nagios -> kill $(pgrep nagios) -> service nagios stop/start
3: Removed all files that could have something to do with this in \usr\local\nagios\etc (only localhost was in there) same goes for hostgroups servicegroups none were there)
4: Listed all config files with timestamps to see if there are any other .cfg host/services files. (only localhost, which i deleted and restored)
5: Basically scanned through this: http://support.nagios.com/wiki/index.ph ... t_Hosts.29
6: Verified that the hosts do not exist in the rewritten config files.
7: CCM -> Delete hosts/services -> Write configs to file -> Verify configs (if it gave me errors i fixed them)
8: Rebooted Nagios XI server multiple times, also no result
9: No errors in tail -f /var/log/messages
10: service ndo2db stop -> killall -9 ndo2db -> service ndo2db start -> service ndo2db status
11: checked if broker was commented out: (broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg) nope
12: Still troubleshooting..
Please advise, should i just reinstall again -.-'?