Blank service check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

@hbouma, There could still be some corruption is service status/host status tables. Please run the following queries and send me the nagiosNew file from the /tmp/ folder.
echo "SELECT * FROM nagios_servicestatus;" | mysql -t -uroot -pnagiosxi nagios > /tmp/nagiosNew.txt
echo "SELECT * FROM nagios_hoststatus;" | mysql -t -uroot -pnagiosxi nagios >> /tmp/nagiosNew.txt
Also, would you be ok with truncating these database tables? You may lose some service check data but this could help us get rid of the blank check.
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 »

File sent.

I am fine truncating the data.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Blank service check

Post by npolovenko »

@hbouma, I think I found the corrupted entry and we can try removing it manually.
Please backup your XI and make a snapshot of the VM before running this query.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
echo "DELETE FROM nagios_servicestatus WHERE servicestatus_id = '755728';" | mysql -uroot -pnagiosxi nagios
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 »

THANK YOU!!!! That worked.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Blank service check

Post by lmiltchev »

Great! We are marking this issue as resolved, and closing this topic. If you have any further questions, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked