[ZBXNEXT-2475] Zabbix web monitoring and Content-Encoding: gzip Created: 2014 Sep 22 Updated: 2024 Apr 10 Resolved: 2021 Nov 10 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.4.0 |
Fix Version/s: | 5.0.18rc1, 6.0.0alpha5, 6.0 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | Maxim Odinintsev | Assignee: | Andrejs Kozlovs |
Resolution: | Fixed | Votes: | 18 |
Labels: | webmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux server (Debian, Gentoo) |
Attachments: |
![]() |
Team: | |
Sprint: | Sprint 81 (Oct 2021), Sprint 82 (Nov 2021) |
Story Points: | 1 |
Description |
If monitored server sends data in gzip, web monitoring doesn't recognize it. |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Sep 22 ] |
Documentation page for the option: http://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html . |
Comment by Yannick Moussette [ 2014 Dec 19 ] |
I concur... I was having issues with some web page I was monitoring returning "Compressed" pages (Content-Encoding: gzip), which I could not "match strings" to, the content being compressed and garbled in the zabbix_server logs. Adding Maxim's change to the 2.4.3 source http_test.c file and recompiling fixed the issue for me. The web page is now being fetched properly and string matching works... Thanks Maxim and Aleksandrs! G. |
Comment by Syomochkin Maksim [ 2016 Oct 13 ] |
Is there any news on this problem? In version 3.2, problem still there. |
Comment by Marc [ 2016 Oct 13 ] |
it's not on the roadmap yet. |
Comment by Joshua McDowell [ 2017 May 05 ] |
Any chance this can make it's way onto the roadmap? Thanks, |
Comment by Marc [ 2017 May 05 ] |
sure! By (co-)sponsoring development of this feature. |
Comment by Joshua McDowell [ 2017 May 05 ] |
Marc, In a sense I have tried to do just that by way to trying to get Zabbix into 2 different companies I have been with in a paid services capacity. That fell apart the first time and this last time we didn't get a response to the RFP. :/ |
Comment by richlv [ 2017 May 05 ] |
joshuamcdo, how did you communicate ? |
Comment by Jakov Sosic [ 2018 Apr 01 ] |
I've hit this problem too. Can we bump this issue up? I would rather use official RPMs then rebuild each release with the attached patch? |
Comment by Marc [ 2018 Apr 01 ] |
jsosic, the best bet to bump up a ZBXNEXT is contacting [email protected] |
Comment by Dmitry Verkhoturov [ 2021 Mar 21 ] |
I just hit that issue when I started using Memcached cache with Nginx (on a Bitrix site it is called "composite mode"). The site I'm trying to monitor is compressed out of the box:
$ curl -s -X GET -I https://favor-group.ru | grep content-encoding
content-encoding: gzip
I can read it with curl --compressed, but I can't set up a Web Check for that page using Zabbix Server 5.2.4. I'll need to alter the query params for a query not to hit the cache and return not gzipped answer, and I'll be checking the backend but won't check the scenario of Nginx retrieving answer from the Memcached. I would be very grateful if the fix would make it to the upstream. |
Comment by Alexei Vladishev [ 2021 Oct 11 ] |
We are fixing it in 6.0 by allowing all encodings supported by cURL lib. |
Comment by Andrejs Kozlovs [ 2021 Oct 22 ] |
Available in:
|
Comment by Jurijs Klopovskis [ 2021 Oct 25 ] |
Reverted. New releases should be back to normal again. |
Comment by Andrejs Kozlovs [ 2021 Nov 02 ] |
Documentation updated: |