[ZBX-18168] unclear what regexp causes error for regexp_exec() function Created: 2020 Jul 30 Updated: 2024 Apr 10 Resolved: 2023 Sep 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 4.0.22, 5.0.2 |
Fix Version/s: | 6.0.22rc1, 6.4.7rc1, 7.0.0alpha5, 7.0 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Oleksii Zagorskyi | Assignee: | Andris Mednis |
Resolution: | Fixed | Votes: | 2 |
Labels: | logmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() |
||||||||||||
Issue Links: |
|
||||||||||||
Team: | |||||||||||||
Sprint: | Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023) | ||||||||||||
Story Points: | 10 |
Description |
We have a lot of log* items with regexp and output group in item key. regexp_exec() failed with error -8 but we are not able to figure out what item(s?) cause that. Could be the message extended to include the regexps itself? p.s. as I see the function receives regexp - [IN] precompiled regular expression. |
Comments |
Comment by Andris Mednis [ 2020 Oct 05 ] |
Reproduced in a rough way in release/4.0:
/usr/include/pcre.h shows what is -8: #define PCRE_ERROR_MATCHLIMIT (-8) |
Comment by Andris Mednis [ 2023 Aug 08 ] |
Available in versions:
|
Comment by Martins Valkovskis [ 2023 Aug 10 ] |
Updated documentation: |