Page 1 of 1
Error_log after upgrade to Nagios XI 5.6.0
Posted: Thu May 23, 2019 7:09 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:
[Thu May 23 13:28:06.639132 2019] [:error] [pid 17998] [client] PHP Notice: unserialize(): Error at offset 696 of 1607 bytes in /usr/local/nagiosxi/html/includes/components/actions/actions.inc.php on line 929, referer: http://nagiosxi/nagiosxi/includes/compo ... &dest=auto
[Thu May 23 13:58:32.645135 2019] [:error] [pid 25536] [client ] PHP Notice: unserialize(): Error at offset 696 of 1607 bytes in /usr/local/nagiosxi/html/includes/components/actions/actions.inc.php on line 929, referer: http://nagiosxi/nagiosxi/includes/compo ... &dest=auto
From the interface we list the services without problems,
How could we solve this problem?
Thanks
Re: Error_log after upgrade to Nagios XI 5.6.0
Posted: Thu May 23, 2019 2:33 pm
by benjaminsmith
Hi
@igae1,
From the interface we list the services without problems,
How could we solve this problem?
Those are PHP Notices which are advisory messages and will not affect Nagios XI. If desired, It's possible to turn those off in the php.ini file.
Re: Error_log after upgrade to Nagios XI 5.6.0
Posted: Tue May 28, 2019 3:46 am
by igae1
Thanks,
I also see these entries warning:
[Tue May 28 10:42:54.451645 2019] [:error] [pid 29183] [client ] PHP Warning: in_array() expects parameter 2 to be array, string given in /usr/local/nagiosxi/html/includes/components/nocscreen/nocscreenapi.php on line 147, referer:
http://server/nagiosxi/includes/compone ... ate_flag=1
[Tue May 28 10:43:24.470684 2019] [:error] [pid 22514] [client ] PHP Warning: in_array() expects parameter 2 to be array, string given in /usr/local/nagiosxi/html/includes/components/nocscreen/nocscreenapi.php on line 57, referer:
http://server/nagiosxi/includes/compone ... ate_flag=1
Regards
Re: Error_log after upgrade to Nagios XI 5.6.0
Posted: Tue May 28, 2019 2:07 pm
by jomann
Hello,
Looking at the errors it looks like you may be on an older version of the component. Can you verify you have the latest version of the Operations Center component in Admin > Manage Components > Check for Updates. Once you've verified and/or updated to 1.3.1 can you check to see if you still have an error? If you do, please post the error.
Re: Error_log after upgrade to Nagios XI 5.6.0
Posted: Wed May 29, 2019 2:27 am
by igae1
Thanks,
The versions of the installed components are:
Operations Center 1.2.1 (07/12/2018 Nagios Enterprise, LLC) and Operations Screen 1.8.0, should we update the Operations Center version?
Output Log upgrade nagios XI 5.5.11
Installing 'components/nocscreen.zip'
TMPNAME: WCHMm
Archive: /tmp/nagiosxi/subcomponents/xicomponents/components/nocscreen.zip
cb15e123ea39a95e6d4b4d403834839f213d318c
creating: nocscreen/
inflating: nocscreen/CHANGES.txt
inflating: nocscreen/jquery.sumoselect.js
inflating: nocscreen/noc.php
inflating: nocscreen/nocscreen.inc.php
inflating: nocscreen/nocscreenapi.php
inflating: nocscreen/sumoselect.css
nocscreen
COMPONENT NAME: nocscreen
CMD=grep register_component /usr/local/nagiosxi/tmp/WCHMm/nocscreen/nocscreen.inc.php | wc -l
1
OUT=1
Component looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/WCHMm/nocscreen /usr/local/nagiosxi/html/includes/components/
CMD: rm -rf /usr/local/nagiosxi/tmp/WCHMm
INSTALLING COMPONENT: nocscreen
CHECKING FOR INSTALL SCRIPT /usr/local/nagiosxi/html/includes/components/nocscreen/install.sh
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser:$nagiosgroup /usr/local/nagiosxi/html/includes/components/nocscreen
CMD: /bin/chmod -R +x /usr/local/nagiosxi/html/includes/components/nocscreen
Done!
Regards
Re: Error_log after upgrade to Nagios XI 5.6.0
Posted: Wed May 29, 2019 4:20 pm
by benjaminsmith
Hello
@igae1,
It looks like you have the current version of the Operations Screen (1.8.0), and the current version of the Operations Center is 1.3.1. Please upgrade the Operations Center and check to see if the messages are still present ( and post it to the thread).
Thanks!