Alert on service I can't find in config
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Alert on service I can't find in config
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
I have Applied Configuration a dozen times, but no luck.
TIA,
Dale
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Alert on service I can't find in config
Was this a service that had been previously in your configurations? Can you see the service's configuration file when you navigate to:
You may be experiencing a phenomena that we call "Ghost Hosts."
Code: Select all
/usr/local/nagios/etc/services/<hostname>.cfg-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Re: Alert on service I can't find in config
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.
It is a ghost service.
Re: Alert on service I can't find in config
Run the following command and show the output:
Code: Select all
grep -R -i "lwsmd" /usr/local/nagios/etc/Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Re: Alert on service I can't find in config
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?
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?
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Re: Alert on service I can't find in config
Disregard my last, denver is not in any hostgroup. It does not exist.
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Re: Alert on service I can't find in config
Also, why do I not have the authority to browse this forum?
Re: Alert on service I can't find in config
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?
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?
Former Nagios Employee
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Re: Alert on service I can't find in config
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.
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
Glad to see this fixed. Am I good to close this thread out then?
Former Nagios Employee