incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1980) When nagios is unavailable, return null instead of throwing an Exception
Date Thu, 18 Apr 2013 22:02:13 GMT

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

Siddharth Wagle commented on AMBARI-1980:
-----------------------------------------

+1 looks good.
                
> When nagios is unavailable, return null instead of throwing an Exception
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-1980
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1980
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-1980.patch
>
>
> NAGIOS_SERVER alerts are retrieved from the nagios server when requesting the host_component.
 There is a {{SystemException}} thrown in the case of an {{IOException}}, which propagates
as a 500 error for the entire request.
> In this case, set the nagios_alerts element to {{null}} instead of the 500 error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message