Upgrade Issue to NagiosXI 5.6.0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jdulac
Posts: 7
Joined: Wed May 21, 2014 9:50 pm

Upgrade Issue to NagiosXI 5.6.0

Post by jdulac »

Hello,

I upgraded our environment to 5.6.0 earlier this week and has some issues with the "Check for Updates" spinning on the Admin tab after upgrade.
I was able to fix that per some other support forum posts but now I am getting a PHP warning in the console and my environment is no longer sending e-mail and text notifications. The error the console is spitting out indicates: PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491.

Any thoughts on this? Thanks in advance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade Issue to NagiosXI 5.6.0

Post by scottwilkerson »

The error you are seeing is just a notice, but there is a known issue that can cause this in 5.6.0

Run the following to resolve it

Code: Select all

rm -f /usr/local/nagiosxi/var/event_handler.lock
For the other notice you are getting you can actually delete this old component which isn't used any longer

Code: Select all

rm -rf /usr/local/nagiosxi/html/includes/components/nagiosim
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jdulac
Posts: 7
Joined: Wed May 21, 2014 9:50 pm

Re: Upgrade Issue to NagiosXI 5.6.0

Post by jdulac »

Thanks, Scott. I ran the two commands in the console with no problems and my notifications are now restored as well.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade Issue to NagiosXI 5.6.0

Post by scottwilkerson »

jdulac wrote:Thanks, Scott. I ran the two commands in the console with no problems and my notifications are now restored as well.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked