Page 1 of 1

Error_log after upgrade to Nagios XI 5.5.11

Posted: Tue Aug 13, 2019 1:54 am
by igae1
HI Team,

We have made an upgrade of nagios xi from version 5.4.13 to the version Nagios XI 5.6.0. The following entries appear in the error_log log:

[Tue Aug 13 08:49:08.633155 2019] [:error] [pid 5565] [client ] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nocscreen/nocscreenapi.php on line 206, referer: http://guardian00.central.sepg.minhac.a ... ate_flag=1
[Tue Aug 13 08:49:09.401099 2019] [:error] [pid 4508] [client ] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nocscreen/nocscreenapi.php on line 206, referer: http://guardian00.central.sepg.minhac.a ... en/noc.php


We have Operations Center 1.3.1, Operation Screen 1.8.0

Thanks

Re: Error_log after upgrade to Nagios XI 5.5.11

Posted: Tue Aug 13, 2019 11:57 am
by benjaminsmith
Hello @igae1,

Those messages, PHP Notices and Warnings, are advisory messages and can be turned off if desired.

Open the /etc/php.ini file and change the error_reporting definition to:

Code: Select all

error_reporting(E_ERROR);
And then restart Apache:

Code: Select all

systemctl restart httpd.service
Let me know if you have any questions.