I came in today and there was some instability in the system due to work done over the weekend.
I rebooted the server to get everything back in line, and on the server coming back up and encountered the following issues:
1. I was encountering instability, so I ran repairmysql.sh nagios
2. on reboot, old templates for nagiosxi_passive_host were applied to all the hosts I have passive checks running on, and I had to go in and manually remove all of them from the hosts, as it was preventing host-checks from occuring.
3. After this, I noticed service checks had hundreds pending. after looking through them, I have noticed two things:
-services show no history, and do not keep their state, so whenever I apply a configuration, or restart the nagios process, it shows most services to be
Code: Select all
Pending 4892d 11h 9m 50s 0/0 1999-11-30 00:00:00 No check results for service yet...I am sure this is a database issue, and I am curious to run the database repair again, but do not want to have to go back around to replace all of the manually moved templates and configurations. I believe nagios should maintain state during a configuration apply, and not default back to the pending with last check 1999-11-30- this is behavior I have never seen prior to coming in this morning.
Anyone have experience with this?