Hi! I've this error in my ssl_error_log.
PHP Notice: Undefined variable: class in /usr/local/nagiosxi/html/includes/components/nocscreen/nocscreenapi.php on line 437, referer: https://nagios.saq.qc.ca/nagiosxi/inclu ... en/noc.php
The SSL port is always changing.. Looks like some sort of scan.
Any info?
httpd ssl logs filling up
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: httpd ssl logs filling up
Hello @typer100,
You can safely disable php notices as they are advisory messages by disabling them in the /etc/php.ini file.
And then restart Apache.
Let me know if you have any questions.
You can safely disable php notices as they are advisory messages by disabling them in the /etc/php.ini file.
Code: Select all
// Report all errors except E_NOTICE
error_reporting(E_ALL & ~E_NOTICE);
Code: Select all
systemctl restart httpdAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: httpd ssl logs filling up
I can also just drop the packets in IPtables... Still won't fix the error.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: httpd ssl logs filling up
Hello,
That notification is being generated from Nagios XI by the network operations screen component, and is not causing any problems. However, if you've disabled the error reporting for notices and re-started Apache, the notices should not show up in the logs.
PHP Manual - error_reporting
That notification is being generated from Nagios XI by the network operations screen component, and is not causing any problems. However, if you've disabled the error reporting for notices and re-started Apache, the notices should not show up in the logs.
PHP Manual - error_reporting
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!