Ghost services...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tyrone.fain
Posts: 16
Joined: Thu Apr 28, 2016 11:42 am

Re: Ghost services...

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Ghost services...

Post by avandemore »

Please post the output from this:

Code: Select all

echo 'select * from tbl_service;' | mysql -uroot -pnagiosxi nagiosql | grep "GlassFish"
Previous Nagios employee
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Ghost services...

Post by avandemore »

Previous Nagios employee
tyrone.fain
Posts: 16
Joined: Thu Apr 28, 2016 11:42 am

Re: Ghost services...

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Ghost services...

Post 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.
Former Nagios employee
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Ghost services...

Post 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" * 
Be sure to check out our Knowledgebase for helpful articles and solutions!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Ghost services...

Post 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.
Previous Nagios employee
tyrone.fain
Posts: 16
Joined: Thu Apr 28, 2016 11:42 am

Re: Ghost services...

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Ghost services...

Post 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.
tyrone.fain
Posts: 16
Joined: Thu Apr 28, 2016 11:42 am

Re: Ghost services...

Post by tyrone.fain »

OK, I'll wait until Monday to report.
Locked