You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/02/02 23:54:55 UTC

[jira] [Commented] (AMBARI-9308) Alerts: Hosts badge shows red when there are only warn level alerts on the hosts

    [ https://issues.apache.org/jira/browse/AMBARI-9308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14302163#comment-14302163 ] 

Hudson commented on AMBARI-9308:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit-docker #841 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/841/])
AMBARI-9308. Alerts: Hosts badge shows red when there are only warn level alerts on the hosts (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b7613c0b3d6c64d6024d5158a6e7a299f86e0498)
* ambari-web/app/templates/main/menu_item.hbs
* ambari-web/app/styles/application.less
* ambari-web/app/views/main/menu.js
* ambari-web/app/controllers/main/host.js


> Alerts: Hosts badge shows red when there are only warn level alerts on the hosts
> --------------------------------------------------------------------------------
>
>                 Key: AMBARI-9308
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9308
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9308.patch
>
>
> The alert badge next to Host in the main nav shows as red even if there are only warning alerts.
> 1) Two hosts have alerts, which is correct
> 2) The alerts on those two hosts are all warn
> 3) but the Host (2) badge shows as red, it should show as warn orange <<-- this is the issue. If the hosts with alerts are warn (i.e. non-crit, the badge should be orange, not red). Only be red in the case of one or more of the hosts has a crit warning.
> In this scenario, the red badge is correct.
> 1) Two hosts have alerts, which is correct and Host (2) shows
> 2) The alerts on those two hosts: one has a warn, another has a crit
> 3) The Host (2) badge shows as red, which is fine since at least one of the hosts has a crit warning



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)