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

Filtering hosts with alerts by name gives incorrect results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 2.2.0, 2.4.0
    • ambari-web
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: