ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe (Joe) Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15809) Web Client Does Not Expose Parameters For All Alert Types
Date Mon, 11 Apr 2016 17:33:25 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-15809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhe (Joe) Wang updated AMBARI-15809:
------------------------------------
    Attachment: AMBARI-15809.v0.patch

Local ambari-web test passed.
25640 tests complete (23 seconds)
  154 tests pending
Manual testing done.

> Web Client Does Not Expose Parameters For All Alert Types
> ---------------------------------------------------------
>
>                 Key: AMBARI-15809
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15809
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Zhe (Joe) Wang
>            Assignee: Zhe (Joe) Wang
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15809.v0.patch
>
>
> AMBARI-15745 added a new {{SERVER}} type alert which exposes several parameters:
> {code}
> "AlertDefinition": {
>   "cluster_name": "c1",
>   "component_name": "AMBARI_SERVER",
>   "description": "This alert is triggered if the server detects that there is a potential
performance problem with Ambari. This type of issue can arise for many reasons, but is typically
attributed to slow database queries and host resource exhaustion.",
>   "enabled": true,
>   "help_url": null,
>   "id": 201,
>   "ignore_host": false,
>   "interval": 1,
>   "label": "Ambari Server Performance",
>   "name": "ambari_server_performance",
>   "repeat_tolerance": 1,
>   "repeat_tolerance_enabled": false,
>   "scope": "SERVICE",
>   "service_name": "AMBARI",
>   "source": {
>     "class": "org.apache.ambari.server.alerts.AmbariPerformanceRunnable",
>     "type": "SERVER"
>     "parameters": [
>       {
>       "display_name": "Warning",
>       "description": "The time to find requests in progress before a warning alert is
triggered.",
>       "name": "request.by.status.warning.threshold",
>       "value": "3000",
>       "type": "NUMERIC",
>       "units": "ms",
>       "threshold": "WARNING"
> ...
> },
> {code}
> However, these parameters are not exposed via the web client. It seems like only parameters
for {{SCRIPT}} alerts are exposed.



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

Mime
View raw message