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

Fix aggregate checks error message

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.4.0alpha1
    • Component/s: Server (S)
    • Labels:
      None
    • Team:
      Team A
    • Sprint:
      Sprint 1
    • Story Points:
      0.5

      Description

      Double quoting of groups when aggregated item becomes unsupported. Similarly, if there are no groups specified in the key then we could give a more specific error.

      key:
      grpsum[["a/b1111", "aaaaaa"],"dummy_item_1",last]
      
      log:
       24968:20161110:160425.018 item "dummy_aggregator:grpsum[["a/b1111", "aaaaaa"],"dummy_item_1",last]" became not supported: No items for key "dummy_item_1" in group(s) ""a/b1111","aaaaaa"".
      
      info in frontend:
      No items for key "dummy_item_1" in group(s) ""a/b1111","aaaaaa"".
      

      When quotes are removed from key...

      key:
      grpsum[[a/b1111, aaaaaa],"dummy_item_1",last]
      
      log:
       24965:20161110:160754.419 error reason for "dummy_aggregator:grpsum[[a/b1111, aaaaaa],"dummy_item_1",last]" changed: No items for key "dummy_item_1" in group(s) "a/b1111,aaaaaa".
      
      
      info in frontend:
      No items for key "dummy_item_1" in group(s) "a/b1111,aaaaaa".
      

      Andris Zeila Opted for quoting individual groups in the list:

       -> ""
      "" -> ""
      a -> "a"
      "a" -> "a"
      a,b -> "a", "b"
      "a","b" -> "a", "b"
      "a",b,"c" -> "a", "b", "c"
      

      Added specific error message if no groups are found, but did not make separate error message for empty groups list.

      Sandis Neilands The info message for the unsupported item in case all specified groups are incorrect is now as follows.

      No groups in list "aaaaa", "bbbbb", "ccccc".
      

      Let's revisit it to use the same vocabulary as the docs after Martins Valkovskis updates the relevant page.

      Martins Valkovskis Possibly, "None of the groups in list "..." is correct"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: