Blank service check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Blank service check

Post by hbouma »

I have one Nagios XI server that has a blank service check.I have 82 services in CCM, but when I look at the service status summary dashlet, it lists 83 total services. When clicking on the 83, I see one service that has no name, no host and some nonsense in the date and last check fields. I have looked through my configuration files in /usr/local/nagios/etc/services/ and I see no files with a blank host and blank service description. I see no unusual services configuration files either. How to I find and remove this service?
2018-09-05 08_57_17-Dashboards · Nagios XI.png
I am running Nagios XI 5.5.3 on Red Hat 7 64bit.
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

Hello, @hbouma. This could be a corrupted entry in the database. I suggest running a repair_db script first to see if the problem goes away:
/usr/local/nagiosxi/scripts/repair_databases.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: Blank service check

Post by hbouma »

That was run, unfortunately, the phantom service is still there.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

@hbouma, Please upload the following file:
/usr/local/nagios/var/objects.cache
And then run this query:
echo "SELECT * FROM nagios_services\G;" | mysql -uroot -pnagiosxi nagios > /tmp/nagios.txt
It will generate nagios.txt file in the /tmp/ directory. Please upload that file here as well.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

@hbouma, Please upload the following file:
/usr/local/nagios/var/objects.cache
And then run this query:
echo "SELECT * FROM nagios_services\G;" | mysql -uroot -pnagiosxi nagios > /tmp/nagios.txt
It will generate nagios.txt file in the /tmp/ directory. Please upload that file here as well.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: Blank service check

Post by hbouma »

Sent information via private message.

I can tell you already that the object.cache file has some outdated information in it.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

@hbouma, Thank you. Please run the following commands in order and let me know if the issue gets resolved:
service nagios stop
rm /usr/local/nagios/var/objects.cache
rm /usr/local/nagios/var/status.dat
rm /usr/local/nagios/var/retention.dat
service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: Blank service check

Post by hbouma »

Unfortunately, this didn't work.

However, the file /usr/local/nagios/var/status.dat doesn't exist. Could that be why the problem didn't disappear?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

@hbouma, No that's normal. It is supposed to get automatically deleted every time Nagios service stops. But sometimes it doesn't and that's why I included that command.
Could you send in your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and send it to me via private message.

*After you send it please post an update in this thread to bring it back up in the support queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: Blank service check

Post by hbouma »

Profile sent.
Locked