[ZBX-24475] nextcheck works incorrect for software update check Created: 2024 May 14  Updated: 2024 Jun 06  Resolved: 2024 May 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 7.0.0rc1
Fix Version/s: 7.0.0rc2, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 0
Labels: nextcheck, softwareupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File jserror.png     PNG File jsonwitherror.png     GIF File nextcheck.gif     PNG File version_numbers.png    
Issue Links:
Causes
caused by ZBXNEXT-9057 Software update check Closed
Team: Team A
Sprint: S24-W20/21
Story Points: 0.5

 Description   

NEXTCHECK_DELAY_ON_FAIL  doesn't work when json file is missing
Precondition:

  1. Change const and URL
    	private const NEXTCHECK_DELAY = 120; // 2min
    	private const NEXTCHECK_DELAY_ON_FAIL = 240; // 4min
    	private const MAX_NO_DATA_PERIOD = 600; // 10min
    
  2. Make sure that request runs each ~2min

Steps to reproduce:

  1. Rename the json file to make URL invalid - 404
  2. Check network tab in DevTool

Result: the request continues to run every 2 minutes

Expected result: after checking after 2 minutes and receiving that the file does not exist, the next check should be4min - NEXTCHECK_DELAY_ON_FAIL



 Comments   
Comment by Andrejs Griščenko [ 2024 May 21 ]

Available in versions:

Generated at Sun Apr 20 21:10:35 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.