Page 1 of 1

PHP Errors with Latest NagiosXI R2012R2.9

Posted: Tue Feb 25, 2014 9:45 am
by quental
Server: Redhat 6.x 64 bits.
Nagios: manual installation
upgrade: NagiosXI R2012R2.9

Hi,

We are seeing on our central Nagios server these PHP errors showing up, in /var/log/messages:

Feb 25 15:37:21 nagiosrl01 php: PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 27
Feb 25 15:37:21 nagiosrl01 php: PHP Warning: simplexml_load_string(): ERROR: NOT AUTHENTICATED in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 27
Feb 25 15:37:21 nagiosrl01 php: PHP Warning: simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 27
Feb 25 15:37:21 nagiosrl01 php: PHP Notice: Trying to get property of non-object in /usr/local/nagiosxi/cron/sysstat.php on line 109
Feb 25 15:37:21 nagiosrl01 php: PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/cron/sysstat.php on line 109

how can we resolve these warnings?
Any ideas??

Re: PHP Errors with Latest NagiosXI R2012R2.9

Posted: Tue Feb 25, 2014 2:22 pm
by slansing
These PHP warnings are not show stoppers for Nagios XI, there are a handful that are still running around and we are working to clear them up with each release, PHP warnings are inevitable with apache unfortunately.

Re: PHP Errors with Latest NagiosXI R2012R2.9

Posted: Tue Feb 25, 2014 2:44 pm
by quental
thanks slansing,
we wait for the solution of the same...