Page 1 of 4

Lost all what was in Scheduled Downtime after upgrade

Posted: Wed Jul 15, 2020 6:12 pm
by steph007
Hi,

I upgrade from 5.6 to 5.7 and when Nagios came back with "Nagios XI Upgrade Complete!", I log back to the console and notice multiple servers down who was before the upgrade in Scheduled Downtime. All recurring downtime is also gone! That was not notice when I was upgrading my test environment because no server was marked as Scheduled Downtime (now be sure I will add a validation on this for the next upgrade).

This is the messages I got at the end:
Total Warnings: 8
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check

Is it an known bug? Is there a way to retrieve the Scheduled Downtime?

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Wed Jul 15, 2020 6:16 pm
by steph007
It's look like all services has lost the last state. I have now 10000+ services in pending mode where the last check is 1970-01-01

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Wed Jul 15, 2020 6:29 pm
by steph007
Was terribly long, but servers who was in Scheduled Downtime are now marked as Scheduled Downtime.
And service who was not display the last state, seem to be ok.

But, even if I have servers in Scheduled Downtime, I cannot see any of them in the Scheduled Downtime in the Incident Management view!

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Wed Jul 15, 2020 6:33 pm
by steph007
My "small" NAgios to minitor my main Nagios report this:
Nagios XI Daemons Unknown No daemon information found.
Nagios XI Jobs Unknown No job information found.

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Thu Jul 16, 2020 3:19 pm
by cdienger
I would recommend the 5.7.2 release that addresses issues with the dashboards not updating correctly:

https://assets.nagios.com/downloads/nag ... NGES-5.TXT

The problem with the alerts sounds like this: https://support.nagios.com/forum/viewto ... 16&t=59031. Per that thread, try rerunning the XI monitoring wizard.

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Thu Jul 16, 2020 7:21 pm
by steph007
Hi, I'm already 5.7.2

I'm facing multiple performance issue.
First, since upgrade, the CPU is about 20% more.
But the worst problem I have, it's when I'm applying change, it can take 30 minutes or more to have check. And new Services or Hosts added does not appears for an long time. Bit it's look like even if it's not appears on console, the monitoring work in backup ground because I'm receiving ticket from the Event Handler script!

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Fri Jul 17, 2020 1:18 pm
by cdienger
Please PM me a profile from the system so I can take a closer look. It can be generated under Admin > System Config > System Profile > Download Profile.

I'd also like to get a copy of a the database that has the current ccm configuration. If the default database is being used then this can be done from the command line with:

Code: Select all

mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
If the database has been offloaded to another machine then you'll need to modify the commands slightly to look like:

Code: Select all

mysqldump -h database_host_ip -uusername -ppassword nagiosql > nagiosql.sql​​
If you're not sure about the credentials or database server IP you can review /usr/local/nagiosxi/html/config.inc.php​. A copy of this is also included in the profile so we can review it if necessary.

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Mon Aug 03, 2020 3:01 pm
by steph007
Hi, I'm just returning from vacation.
I check I still have issues!
Let me gathering what you ask and let see if you can help

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Mon Aug 03, 2020 3:08 pm
by steph007
Profile sent to your PM.

Re: Lost all what was in Scheduled Downtime after upgrade

Posted: Mon Aug 03, 2020 4:05 pm
by steph007
I Have big issues actually.
It's made more then 1h that services is not check. It's true for passive and active services.
If I force a check, nothing happen.
I see nothing in the Scheduled Downtime in Admin section but I know that some servers are in Scheduled Downtime.

What I did that seem match the time that problem beging:
Put around 50 / 900 Host in Scheduled Downtime for 1h
Update to nrpe 4 on those Host
Force check of one service by Host to see if the upgrade was good

Note
Never face that in Nagios XI 5.6. My problem really start at 5.7