Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24475

nextcheck works incorrect for software update check

XMLWordPrintable

    • S24-W20/21
    • 0.5

      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

        1. jserror.png
          jserror.png
          27 kB
        2. jsonwitherror.png
          jsonwitherror.png
          77 kB
        3. nextcheck.gif
          nextcheck.gif
          874 kB
        4. version_numbers.png
          version_numbers.png
          25 kB

            agriscenko Andrejs Griščenko
            natalja.zabbix Natalja Romancaka
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: