[ZBX-24898] When the web URL remains offline, web.test.fail[] occasionally returns 0 Created: 2024 Jul 24  Updated: 2024 Jul 25

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 6.0.31
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Shuang Fu Assignee: Arkadiusz Zyla
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File 01-conf-web-sceneaios-1.jpg     PNG File 02-conf-web-step-1.png     JPEG File 03-conf-trigger-1.jpg     JPEG File 04-curl-1.jpg     JPEG File 05-latest-data-1.jpg     JPEG File 06-response-code-1.jpg     JPEG File 07-error-message-1.jpg     JPEG File 08-host-webSceneaios.jpg     JPEG File 09-failed-step.jpg    

 Description   

Steps to reproduce:

 1. Create Web scenario and add steps with Required status codes as 200,301,302,307
 2. stop web application
 3. The browser could not open application URL anymore
 4. curl command time out and return "Object moved" message with return code 302
 5. web failure problem was raised on the Zabbix
    as the trigger is defined as min(web.test.fail[],#3)=1
 6. web failure problem is constantly flapping between "problem" and "resolved"

Result:
   the screenshot shows that the "Failed step of scenario" - web.test.fail[] is flapping beteen 1 and 0

Expected:

  the "Failed step of scenario" - web.test.fail[] should always be 1


Generated at Mon Apr 07 00:30:36 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.