getting continuous error on httpd ssl_error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

getting continuous error on httpd ssl_error

Post by Gonela »

Hi

getting continuous error on /httpd/ssl_error_log

please help me on this.

Code: Select all

[root@nagihpcorp01 ~]# tail -f /var/log/httpd/ssl_error_log
[Sun Sep 30 05:28:23.794663 2018] [:error] [pid 12220] [client 10.122.34.76:53839] PHP Notice:  Array to string conversion in /usr/local/nagiosxi/html/includes/utils-xmlstatus.inc.php on line 1386, referer: https://nagihpcorp01/nagiosxi/admin/sysstat.php?pageopt=monitoringengine
[Sun Sep 30 05:28:26.213071 2018] [:error] [pid 12220] [client 10.122.34.76:53839] PHP Notice:  Array to string conversion in /usr/local/nagiosxi/html/includes/utils-xmlstatus.inc.php on line 1386, referer: https://nagihpcorp01/nagiosxi/admin/sysstat.php?pageopt=monitoringengine
[Sun Sep 30 05:28:29.289871 2018] [:error] [pid 12220] [client 10.122.34.76:53839] PHP Notice:  Array to string conversion in /usr/local/nagiosxi/html/includes/utils-xmlstatus.inc.php on line 1386, referer: https://nagihpcorp01/nagiosxi/admin/sysstat.php?pageopt=monitoringengine
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: getting continuous error on httpd ssl_error

Post by cdienger »

Thanks for pointing this out. I'm able to verify the behavior and will check with our dev team regarding it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: getting continuous error on httpd ssl_error

Post by cdienger »

It will be fixed in the next patch release. You can work around it in the meantime by changing the line to:

Code: Select all

$output .= "    <eventtotals type='" . $event_type . "'>" . intval($total_events) . "</eventtotals>\n";
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: getting continuous error on httpd ssl_error

Post by Gonela »

Can you share where will i change that parameter ?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: getting continuous error on httpd ssl_error

Post by cdienger »

Line 1386 of /usr/local/nagiosxi/html/includes/utils-xmlstatus.inc.php.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: getting continuous error on httpd ssl_error

Post by Gonela »

Thanks for help,

Now getting following error

Code: Select all

[Mon Oct 08 20:21:05.519577 2018] [:error] [pid 25424] [client 10.122.2.99:61601] PHP Deprecated:  Function eregi() is deprecated in /usr/local/nagios/share/pnp/include/function.inc.php on line 1553, referer: https://nagihpcorp01/nagios/pnp/index.php?host=.pnp-internal&view=0
[Mon Oct 08 20:21:05.519587 2018] [:error] [pid 25424] [client 10.122.2.99:61601] PHP Deprecated:  Function eregi() is deprecated in /usr/local/nagios/share/pnp/include/function.inc.php on line 1553, referer: https://nagihpcorp01/nagios/pnp/index.php?host=.pnp-internal&view=0
[Mon Oct 08 20:21:05.571683 2018] [:error] [pid 18059] [client 10.122.2.99:61605] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/local/nagios/share/pnp/include/function.inc.php on line 1044, referer: https://nagihpcorp01/nagios/pnp/index.php?host=.pnp-internal&view=0
[Mon Oct 08 20:21:05.613154 2018] [:error] [pid 25860] [client 10.122.2.99:61602] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/local/nagios/share/pnp/include/function.inc.php on line 1044, referer: https://nagihpcorp01/nagios/pnp/index.php?host=.pnp-internal&view=0
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: getting continuous error on httpd ssl_error

Post by cdienger »

The error is actually a notice that will not impact anything. You can turn the messages off by editing the /etc/php.ini and adding:

error_reporting = E_ALL & ~E_DEPRECATED
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: getting continuous error on httpd ssl_error

Post by cdienger »

I've split the new error to it's own thread - https://support.nagios.com/forum/viewto ... 16&t=50581
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked