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

SLA report widget returns incorrect periods for Monthly SLA when now/M+ is used in To field

XMLWordPrintable

    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint candidates
    • 1

      Problem description: incorrect periods are returned in SLA report widget when a monthly SLA is selected and value "now/M+1M" is set in "To"field. Maybe it depends on how many days current month or next month have.
      Example:
      Today is 25.10.2022. If now/M+1M is entered in "To"field, then periods up to 12-2022 are returned.

      Steps to reproduce:
      Precondition: currently its October 2022.

      1. Create a Monthly SLA
      2. Open any dashboard in edit mode
      3. Add widget - set Type = "SLA report"
      4. Select the previously created SLA in SLA field and set "Show periods" to 3
      5. Enter value now/M+1M in field "To" and save the widget
      6. Check which periods are returned in the widget

      Result: 10-2022, 11-2022 and 12-2022 periods are returned.
      Expected: 09-2022, 10-2022 and 11-2022 periods should be returned

      Example:

            averza Andrejs Verza
            solonkins Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: