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

Details

    • Team A
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 1

    Description

      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:

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: