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

"Undefined index: suppress_until" error is returned in Problems by severity widget if manual suppression of a problem expires

    XMLWordPrintable

Details

    Description

      Problem description: The following error is observer in Problems by Severity widget with "Show suppressed problems" = true, if one of the problems to be displayed was manually suppressed, but the suppression period has already completed:

      Undefined index: suppress_until [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → makeSeverityTotals() → getSeverityTableCell() → makeProblemsPopup() → isEventRecentlySuppressed() → CConfigFile->{closure}() in conf/zabbix.conf.php:112]
      Undefined index: suppress_until [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → makeSeverityTotals() → getSeverityTableCell() → makeProblemsPopup() → CConfigFile->{closure}() in conf/zabbix.conf.php:112]
      

      Steps to reproduce:

      1. Open any dashboard in edit mode
      2. Add a "Problems by severity" widget and set "Show suppressed problems" to true
      3. Create a problem
      4. Manually suppress this problem for 2-3 minutes
      5. Wait until the suppression period is completed
      6. Open the dashboard and check the previously created Problems by severity widget

      Result: The above error is observed in the widget
      Expected: no errors should occur.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: