[ZBX-22550] Asterisk by HTTP template fails after 24 hours Created: 2023 Mar 18 Updated: 2024 Feb 20 Resolved: 2024 Feb 20 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Templates (T) |
| Affects Version/s: | 6.4.0 |
| Fix Version/s: | None |
| Type: | Incident report | Priority: | Trivial |
| Reporter: | Phil Tull | Assignee: | Zabbix Integration Team |
| Resolution: | Duplicate | Votes: | 3 |
| Labels: | templates | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu server 20.04. Zabbix 6.4 installed from package. Asterisk 19.8 / FreePBX. |
||
| Description |
|
This template was working in previous versions of Zabbix, like 6.2 for years with no problems. Steps to reproduce:
Result: 533293:20230317:085559.857 item "myasteriskserver:asterisk.get_stats" became not supported: Preprocessing failed for: HTTP/1.1 200 OK..Server: Asterisk/19.8.0..Date: Fri, 17 Mar 2023 12:55:59 GMT..Cache-Control: no-... 1. Failed: Error: log exceeds the maximum size of 8388608 bytes. at [anon] (zabbix.c:83) internal at [anon] () native strict preventsyield at [anon] (function:10) at [anon] (function:256) preventsyield Zabbix never recovers. I have to restart the Zabbix server to get it going again. I have tried increasing the logging to level 4 but this was not practical. The log size grew to 12 Gigs in a few hours and Zabbix became unstable. |
| Comments |
| Comment by Phil Tull [ 2023 Mar 18 ] |
|
/etc/php/7.4/apache2/php.ini: memory_limit = 128M |