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

Error in calculate in "Availability report"

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 3.4.11
    • Frontend (F)
    • Debian 9.1
      Apache/2.4.25 (Debian)
      mysql Ver 14.14 Distrib 5.7.20

      Hello
      On the "Availability report" page, the following error in the calculations was noticed in the web monitoring. Now I'll try to describe:

      Go to In Reports → Availability. Then set the parameters as in the screenshot #1. As a result, the calculations were performed and the result was obtained as in the screenshot #2.

      If you select this interval on the "Latest Data" page, you can see that the problem was two minutes(screenshot #3). The length of the interval is 10 minutes. Of this, the problem was 100 * 2/10 = 20%, and in the "Accessibility report" the state of the problem is 36%.

      We make debug function calculateAvailability into a file include/triggers.inc.php.

      It was determined that in the "availability report" the calculation of the share of the problem starts from the moment of the first occurrence of the event in the selected interval.
      And if you change the parameters, move the lower bound, the proportion of the problem in the interval will not change. This can be seen in the screenshots #4 and 5.

      Tell me, please, this functioning of the calculations is correct? If yes, explain the meaning of these calculations.

      Thank you

        1. screenshot #1.png
          screenshot #1.png
          12 kB
        2. screenshot #2.png
          screenshot #2.png
          6 kB
        3. screenshot #3.png
          screenshot #3.png
          27 kB
        4. screenshot #4.png
          screenshot #4.png
          11 kB
        5. screenshot #5.png
          screenshot #5.png
          6 kB
        6. precise-check.png
          precise-check.png
          18 kB
        7. 30-70.png
          30-70.png
          23 kB
        8. 61-seconds.png
          61-seconds.png
          26 kB
        9. look-for-something-every-6-seconds.xml
          4 kB

            Unassigned Unassigned
            Dmitry_Kochetov Dmitry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: