Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14841

Filtering hosts with alerts by name gives incorrect results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.2.0, 2.4.0
    • Component/s: ambari-web
    • Labels:
      None

      Description

      Filtering for hostnames in hosts with alerts is not working properly, it returns all the hosts.
      The cause is the precedence in the request:
      alerts_summary/CRITICAL>0|alerts_summary/WARNING>0&Hosts/host_name.matches(.*200.*)

      is applied as:
      critical OR (warning AND match)

      but the correct way would be:
      (critical OR warning) AND match

        Attachments

        1. AMBARI-14841.patch
          2 kB
          Daniel Gergely

          Issue Links

            Activity

              People

              • Assignee:
                dgergely Daniel Gergely
                Reporter:
                dgergely Daniel Gergely
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: