[ZBX-7418] web.page.get does not return EOF on failed pages Created: 2013 Nov 21  Updated: 2017 May 30  Resolved: 2013 Nov 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: 2.2.0
Fix Version/s: 2.2.0

Type: Incident report Priority: Minor
Reporter: Justin Irwin Assignee: Martins Valkovskis
Resolution: Fixed Votes: 0
Labels: EOF
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux and Windows



 Description   

Since updating to 2.2 web.page.get returns nothing on failed page loads. Successful page loads work normally. I've duplicated the issue on 2 windows machines and a Linux machine. 2.0.9 agents still work as expected.

Example:
-bash-4.1# zabbix_agentd -t web.page.gethttp://www.faileddomain.org/
web.page.gethttp://www.faileddomain.org/ [t|]



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Nov 21 ]

It has been changed probably in ZBXNEXT-1592

Unfortunately it was not documented on upgrade notes https://www.zabbix.com/documentation/2.2/manual/installation/upgrade_notes_220.
So it's indeed has to be documented.

martins-v Added to the upgrade notes: https://www.zabbix.com/documentation/2.2/manual/installation/upgrade_notes_220#empty_string_returned_instead_of_eof

It is already stated in the item documentation: https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/zabbix_agent

Generated at Sun Mar 16 03:21:12 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.