Remove zombie host/service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Remove zombie host/service

Post by Narie »

Hi,

We are using the Nagios XI appliance with version 5.2.1. We have deleted 2 hosts, and its services, but we're still receiving emails regarding these hosts and services. According to the CCM everything is deleted regarding these hosts and services. How can we permanently get rid of these messages?

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

Re: Remove zombie host/service

Post by tmcdonald »

Did you make sure to click Apply Configuration after?
Former Nagios employee
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Remove zombie host/service

Post by Narie »

Yep, applied configuration several times. Also restarted MySQL/Postgresql/Nagios/NagiosXI/httpd services. Just to clarify, I removed the services, as well as the hosts from the CCM, so they've disappeared from the CCM. However, when I search for the specific host/services I can still find them. And also alerts are still being emailed as well.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Remove zombie host/service

Post by tmcdonald »

Most often this is due to multiple parent nagios processes. Check how many you have with ps -ef | grep bin/nagios and post the results.
Former Nagios employee
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Remove zombie host/service

Post by Narie »

tmcdonald wrote:Most often this is due to multiple parent nagios processes. Check how many you have with ps -ef | grep bin/nagios and post the results.
Thanks for your spot-on answer! I could see there were multiple processen, and ended up with hundreds of false service warning last night. After a reboot of the server all errors, and double processes were gone. :D
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Remove zombie host/service

Post by Narie »

Today I had the same situation again. After shutting down Nagios/NagiosXI, I also had to killall remaining nagios processes. After this I could start Nagios again.
Question: What could cause this problem, i.e. running multiple instances of Nagios server?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Remove zombie host/service

Post by lmiltchev »

Question: What could cause this problem, i.e. running multiple instances of Nagios server?
It is hard to say without looking at your profile. If opening an email support ticket in our system is an option for you, please email the profile.zip to [email protected].

Admin->System Profile->Download Profile
Be sure to check out our Knowledgebase for helpful articles and solutions!
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Remove zombie host/service

Post by Narie »

lmiltchev wrote:
Question: What could cause this problem, i.e. running multiple instances of Nagios server?
It is hard to say without looking at your profile. If opening an email support ticket in our system is an option for you, please email the profile.zip to [email protected].

Admin->System Profile->Download Profile
Is there a more secure way to send the profile?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Remove zombie host/service

Post by Box293 »

You could place it on a dropbox and provide us with the link.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked