Page 1 of 1
Alert on service I can't find in config
Posted: Thu Jul 18, 2013 12:24 pm
by ChathamDaleJ
I have a service on a host that i cannot find under Config -> Core Configuration Manager -> services
I have Applied Configuration a dozen times, but no luck.
TIA,
Dale
Re: Alert on service I can't find in config
Posted: Thu Jul 18, 2013 12:59 pm
by slansing
Was this a service that had been previously in your configurations? Can you see the service's configuration file when you navigate to:
Code: Select all
/usr/local/nagios/etc/services/<hostname>.cfg
You may be experiencing a phenomena that we call "Ghost Hosts."
Re: Alert on service I can't find in config
Posted: Thu Jul 18, 2013 2:56 pm
by ChathamDaleJ
The server is the nagios server, so it has two names (gbnagios01 and localhost). the service in question lwsmd, is in neither.
It is a ghost service.
Re: Alert on service I can't find in config
Posted: Thu Jul 18, 2013 4:34 pm
by lmiltchev
Run the following command and show the output:
Code: Select all
grep -R -i "lwsmd" /usr/local/nagios/etc/
Re: Alert on service I can't find in config
Posted: Wed Jan 06, 2016 1:40 pm
by ChathamDaleJ
I don't know what I did, but that instance cleared. Now, I deleted the host denver and all associated services. I applied the configuration, but all services show up one by one.
grep -Ri denver /usr/local/nagios/etc shows it in a single hostgroup, but no services. Do I need to delete it from the hostgroup?
Re: Alert on service I can't find in config
Posted: Wed Jan 06, 2016 1:43 pm
by ChathamDaleJ
Disregard my last, denver is not in any hostgroup. It does not exist.
Re: Alert on service I can't find in config
Posted: Wed Jan 06, 2016 1:44 pm
by ChathamDaleJ
Also, why do I not have the authority to browse this forum?
Re: Alert on service I can't find in config
Posted: Wed Jan 06, 2016 1:56 pm
by rkennedy
I will disregard your previous messages except the most recent one.
You should be fine to view the General Support as you are, I don't see any issues regarding it. What problem are you seeing? Are you trying to view the customer forums?
Re: Alert on service I can't find in config
Posted: Wed Jan 06, 2016 2:03 pm
by ChathamDaleJ
Solved!
zombie process kept parent process alive. Parent process apparently had old config.
So, ps -eaf | grep defunct. All zombies had a common parent. killall nagios didn't work, though I suppose killall -9 would. kill -9 PPID took care of it, though.
Re: Alert on service I can't find in config
Posted: Wed Jan 06, 2016 2:23 pm
by rkennedy
Glad to see this fixed. Am I good to close this thread out then?