[ZBX-22555] NGINX by HTTP template cannot parse version in regex Created: 2023 Mar 20 Updated: 2024 Apr 10 Resolved: 2024 Feb 15 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Templates (T) |
| Affects Version/s: | 5.0.32, 6.0.14, 6.4.0, 7.0.0alpha1 |
| Fix Version/s: | 6.0.27rc1, 6.4.12rc1, 7.0.0beta2, 7.0 (plan) |
| Type: | Problem report | Priority: | Major |
| Reporter: | Edgar Akhmetshin | Assignee: | Denis Rasikhov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 22.04/NGINX 1.18.0 |
||
| Issue Links: |
|
||||
| Team: | |||||
| Story Points: | 1 | ||||
| Description |
|
Steps to reproduce: curl -L https://127.0.0.1:8443/nginx_status -k -v ... < HTTP/2 200 < server: nginx/1.18.0 (Ubuntu) < date: Mon, 20 Mar 2023 10:12:39 GMT < content-type: text/plain < content-length: 101 ... Active connections: 2 server accepts handled requests 43 43 273 Reading: 0 Writing: 1 Waiting: 1 ... Regexp used in the template: Server: nginx\/(.+(?<!\r)) Result: Preprocessing failed for: HTTP/2 200 ..server: nginx/1.18.0 (Ubuntu)..date: Mon, 20 Mar 2023 10:14:45 GMT..content-type: te... 1. Failed: cannot perform regular expression "Server: nginx\/(.+(?<!\r))" match for value of type "string": pattern does not match Expected: |
| Comments |
| Comment by Denis Rasikhov (Inactive) [ 2024 Feb 14 ] |
|
Fixed in:
|