[Fri Dec 04 06:30:31 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 60428289 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 08:55:18 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59553793 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 08:57:29 2015] [error] [client 10.17.19.234] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59561985 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:09:00 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59555841 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:09:45 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59547649 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:12:22 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59555841 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 10:34:55 2015] [error] [client 10.17.44.201] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485, referer: http://10.17.19.234/nagiosxi/help/?xiwindow=api.php
[Fri Dec 04 10:34:56 2015] [error] [client ::1] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485
[Fri Dec 04 10:34:56 2015] [error] [client ::1] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485
[Fri Dec 04 10:35:01 2015] [error] [client ::1] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485
[Fri Dec 04 10:35:22 2015] [error] [client ::1] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485
[Fri Dec 04 10:35:26 2015] [error] [client 10.17.44.201] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485, referer: http://10.17.19.234/nagiosxi/help/?xiwindow=api.php
[Fri Dec 04 10:35:26 2015] [error] [client 10.17.44.201] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485, referer: http://10.17.19.234/nagiosxi/help/?xiwindow=api.php
[Fri Dec 04 10:35:26 2015] [error] [client ::1] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485
[Fri Dec 04 10:35:26 2015] [error] [client ::1] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485
[Fri Dec 04 06:30:31 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 60428289 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 08:55:18 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59553793 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 08:57:29 2015] [error] [client 10.17.19.234] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59561985 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:09:00 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59555841 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:09:45 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59547649 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:12:22 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59555841 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
Can you try editing your /etc/php.ini file and update the memory_limit = 128M value (perhaps double it).
Then service httpd restart
Does this fix the API issue?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
[Fri Dec 04 10:34:55 2015] [error] [client 10.17.44.201] PHP Notice: Undefined variable: f2 in /usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php on line 485, referer: http://10.17.19.234/nagiosxi/help/?xiwindow=api.php
xxxxx
Can I get you to open a new thread to address this issue please.
Can you report in there the XI version and the SNMP Trap Sender component version (Admin > System Extensions > Manage Components).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
[Fri Dec 04 06:30:31 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 60428289 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 08:55:18 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59553793 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 08:57:29 2015] [error] [client 10.17.19.234] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59561985 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:09:00 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59555841 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:09:45 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59547649 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
[Fri Dec 04 09:12:22 2015] [error] [client 10.17.19.235] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 59555841 bytes) in /usr/local/nagiosxi/html/backend/includes/handler-reports.inc.php on line 24
Can you try editing your /etc/php.ini file and update the memory_limit = 128M value (perhaps double it).
Then service httpd restart
Does this fix the API issue?
I truncated the logentries and the statehistory tables and it is back to normal.
Anyway will put in your recommendations also.
Just checked and one of my servers is already at 512M so I made it the same for all.