Page 2 of 3

Re: Ghost services...

Posted: Thu Nov 17, 2016 3:59 pm
by tyrone.fain
Still there.

[root@gh01nagios ~]# service nagios stop
Stopping nagios:. done.
[root@gh01nagios ~]# mv /usr/local/nagios/var/objects.cache /usr/local/nagios/var/objects.cache.old
[root@gh01nagios ~]# service nagios start
Starting nagios: done.

Re: Ghost services...

Posted: Thu Nov 17, 2016 5:15 pm
by avandemore
Please post the output from this:

Code: Select all

echo 'select * from tbl_service;' | mysql -uroot -pnagiosxi nagiosql | grep "GlassFish"

Re: Ghost services...

Posted: Thu Nov 17, 2016 5:31 pm
by avandemore

Re: Ghost services...

Posted: Wed Nov 23, 2016 2:13 pm
by tyrone.fain
I have run the sql query and the results did not include any of the ghost services.

I followed the steps and ran into a few issues, but I was able to fix. In the end I was able to reindex the db and restart Nagios. Those are ghost services are still around however.

Is there anything else that can be done to fix this issue?

Re: Ghost services...

Posted: Wed Nov 23, 2016 2:28 pm
by tmcdonald
Do the services appear if you open the Core interface instead of XI? You can get there by removing "xi" from the URL like so:

http://somesite/nagios

and using the same credentials you would use to log in to XI.

If they appear there, we know the issue is with the configs or Core itself, otherwise if they just appear in XI it is a DB issue.

Re: Ghost services...

Posted: Wed Nov 23, 2016 2:29 pm
by tgriep
Can you login to the XI server, run the following commands and post the output?

Code: Select all

cd /usr/local/nagios/etc
grep -R "GlassFish 4" * 

Re: Ghost services...

Posted: Wed Nov 23, 2016 2:29 pm
by avandemore
Let try to get a remote setup. Send an email to [email protected] and reference this thread. Reply back to this thread when you have done so so we can lock this end of it.

Re: Ghost services...

Posted: Wed Nov 23, 2016 2:59 pm
by tyrone.fain
I logged into the core and saw that the services are there as well.
I noticed the core is outdated, I will update the version and if that does not fix the issue then we can setup a remote session.

Re: Ghost services...

Posted: Wed Nov 23, 2016 3:02 pm
by dwhitfield
Core and XI are tied together. You can update Core, but I would definitely wait until Monday to do so since we will not be here tomorrow or Friday.

Re: Ghost services...

Posted: Wed Nov 23, 2016 3:16 pm
by tyrone.fain
OK, I'll wait until Monday to report.