Page 1 of 1

State History hard critical > soft ok state

Posted: Tue Dec 10, 2019 1:06 am
by sagesoft
Hi;

Just want to confirm on the state history report when a service from hard critical state then goes to soft ok state this should be hard ok state right? I think it has the same issue with this forum thread: https://support.nagios.com/forum/viewto ... 16&t=54996
states.PNG

There also other dates, hosts and services having this issue. But I only included one for this post if you need more information just let me know.

refer attached files.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.

Re: State History hard critical > soft ok state

Posted: Tue Dec 10, 2019 1:15 pm
by benjaminsmith
Hi @brezner,

Thanks for uploading the screenshot and providing the system profile. You may be hitting the following bug in Nagios Core, I would recommend upgrading to the latest version.

https://github.com/NagiosEnterprises/na ... issues/651

However, before doing so, run the following script to repair the database as I noticed some crashed tables in the logs. Log in as root and run:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
Let me know if you have any questions.