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.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
Blank service check
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Blank service check
@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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Blank service check
File sent.
I am fine truncating the data.
I am fine truncating the data.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Blank service check
@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
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.
Re: Blank service check
THANK YOU!!!! That worked.
Re: Blank service check
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!