Ping services can not be removed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Ping services can not be removed

Post by licence »

Hello,
I cant remove services from services detail. I removed all services in ccm, then host everything successfuly, but after few minutes appear ping service in Service Detail. Host does not exist in Host Detail and in Service Detail is grey... When I come in to CCM there is no service with this address.

I tried:
repair_databases.sh
write database configs to file
restart everything what I should

It is 5.2.3 version of nagiosxi as vmware virtual server.

What should I do, please.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Ping services can not be removed

Post by hsmith »

Did you apply the configuration, or attempt to run the reconfigure_nagios.sh script?
Former Nagios Employee.
me.
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Re: Ping services can not be removed

Post by licence »

Yes, I did. Configuration was apply before run reconfigure_nagios.sh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Ping services can not be removed

Post by lmiltchev »

Go to Configure->Core Config Manager->Tools->Write Config Files, click on "Delete", "Write", and "Verify" in the exact same order, and show the output after each click.

How many hosts/services are you currently monitoring? Are you trying to delete all of the services of a specific host or all services in XI?

Can you show us a screenshot of the error that you see in the web UI?
Be sure to check out our Knowledgebase for helpful articles and solutions!
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Re: Ping services can not be removed

Post by licence »

Delete, write and Verify was successful with no problem. When I write configuration there are no files of host or service with same name like problematic host have.

At now we are monitoring 53 hosts and 210 services. I tried to delete all services of a specific host, I did not try remove all services in XI.

Screenshots are in the attachment sorry for blacket names, we have strict rules about our network.
Screenshot of nagiosxi1 is immediate after delete, write, verify and restart nagios.
Second screenshot nagiosxi2 is after one or two minutes after, the grey one are services which appear on the page.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Ping services can not be removed

Post by lmiltchev »

In order to further troubleshoot the issue we will need to get your profile and the names of the "grayed out" hosts. Is opening a support ticket in our email ticketing system an option for you? If it is, please send us the "profile.zip" to [email protected]. (Admin->System Profile->Download Profile)
Type "Ping services can not be removed" in the email's subject field, and place a URL link to this post in the emails body.
Be sure to check out our Knowledgebase for helpful articles and solutions!
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Re: Ping services can not be removed

Post by licence »

I am sorry, but I can not send you our configuration files. It is secret information and my boss did not allow me to send it. If is it necessarily I will rewrite all configurations, but it could take me very long time...
I tried to find that host name, but it is anywhere in configuration files in /etc/*.cfg. In normal version of nagios on address http://myhost/nagios/ there is not that problem, problematic hosts are not shown there. Than I tried to have a look into database to hosts table and service table but there was also nothing. Could you say me what to try?

I also tried create host with same name, same services and remove it (result is still same), remove some other host (host is removed, but ping service is still tehr)...

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Ping services can not be removed

Post by lmiltchev »

If we are not able to review the configuration files it would be very difficult to help. Basically we are trying to "guess" what the issue could be...

You can continue troubleshooting on your own by doing the following:

1. Check for multiple instances of nagios running:

Code: Select all

ps -ef | grep bin/[n]agios
2. Make sure you don't have these host/service configs placed in the "/usr/local/nagios/etc/static/" directory

3. Check the timestamps of the hosts/services configs. Any of them not updating?

Code: Select all

ll -t /usr/local/nagios/etc/hosts | tail
ll -t /usr/local/nagios/etc/services | tail
4. Do you have a check command set up for the "grayed out" hosts?
Be sure to check out our Knowledgebase for helpful articles and solutions!
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Re: Ping services can not be removed

Post by licence »

Thanks a lot it is solved...
There was running more instances of nagios, so I killed all, run again and everything is ok... I made a many reboots before so I taught that only one instance will run. My mistake, thanks a lot for help!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Ping services can not be removed

Post by lmiltchev »

I am glad the issue has been resolved! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked