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?
I am running Nagios XI 5.5.3 on Red Hat 7 64bit.
Blank service check
Blank service check
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
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.
Re: Blank service check
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
@hbouma, Please upload the following file:
And then run this query:/usr/local/nagios/var/objects.cache
It will generate nagios.txt file in the /tmp/ directory. Please upload that file here as well.echo "SELECT * FROM nagios_services\G;" | mysql -uroot -pnagiosxi nagios > /tmp/nagios.txt
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
@hbouma, Please upload the following file:
And then run this query:/usr/local/nagios/var/objects.cache
It will generate nagios.txt file in the /tmp/ directory. Please upload that file here as well.echo "SELECT * FROM nagios_services\G;" | mysql -uroot -pnagiosxi nagios > /tmp/nagios.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Blank service check
Sent information via private message.
I can tell you already that the object.cache file has some outdated information in it.
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
@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.
Re: Blank service check
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?
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
@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.
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.