Page 1 of 1

Ping services can not be removed

Posted: Wed Jan 27, 2016 4:34 am
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.

Re: Ping services can not be removed

Posted: Wed Jan 27, 2016 10:17 am
by hsmith
Did you apply the configuration, or attempt to run the reconfigure_nagios.sh script?

Re: Ping services can not be removed

Posted: Thu Jan 28, 2016 3:11 am
by licence
Yes, I did. Configuration was apply before run reconfigure_nagios.sh

Re: Ping services can not be removed

Posted: Thu Jan 28, 2016 9:40 am
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?

Re: Ping services can not be removed

Posted: Mon Feb 01, 2016 5:06 am
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.

Re: Ping services can not be removed

Posted: Mon Feb 01, 2016 2:22 pm
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.

Re: Ping services can not be removed

Posted: Fri Feb 05, 2016 4:53 am
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

Re: Ping services can not be removed

Posted: Fri Feb 05, 2016 11:11 am
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?

Re: Ping services can not be removed

Posted: Thu Feb 11, 2016 4:50 am
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!

Re: Ping services can not be removed

Posted: Thu Feb 11, 2016 10:25 am
by lmiltchev
I am glad the issue has been resolved! :)