I will try that, but after repair, is it possible that the logs still empty or missing some?! if so, since the NagiosXI VM had been backup before upgrade to 2012, do you think we should back to use the old one, or continue to use 2012 and try to repair it (could lost some data)?scottwilkerson wrote:Actually, it ocould be database corruption, can you run
Code: Select all
vi /usr/local/nagiosxi/scripts/repairmysql.sh nagios
Upgrade to NagiosXI 2012 without Internet?!
Re: Upgrade to NagiosXI 2012 without Internet?!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade to NagiosXI 2012 without Internet?!
I would run the repair first. If you restoe the backup you are going to be missing everything since the backup, whereas is the repair goes fine, you will only be missing items since the table got corrupted.
Re: Upgrade to NagiosXI 2012 without Internet?!
Yes, logs came back after running repair script.scottwilkerson wrote:Actually, it ocould be database corruption, can you run
Code: Select all
vi /usr/local/nagiosxi/scripts/repairmysql.sh nagios
Another two strange things ...
1. When there were alert events, our client said the notification seems delay?
2. When email alert notified, only one person got the alert?!
Are these two things possible?
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade to NagiosXI 2012 without Internet?!
Excellent.xpertech wrote:Yes, logs came back after running repair script.
This would be possible, and somewhat likely depending on how the setting are set forxpertech wrote:1. When there were alert events, our client said the notification seems delay?
retry_interval
max_check_attempts
Nagios doesn't send the notification until a HARD state is reached.
Additionally, there could be delay in delivery from the mail server.
This is going to depend on what the contacts or contact groups are set to for the host/service that went down, and what notification handler the contact has set, additionally if the notification handler is the xi_host/service_notification handler, they need to have notifications enabled in their user settings...xpertech wrote:2. When email alert notified, only one person got the alert?!