You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/04/13 04:16:25 UTC
[jira] [Commented] (AMBARI-15809) Web Client Does Not Expose
Parameters For All Alert Types
[ https://issues.apache.org/jira/browse/AMBARI-15809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238465#comment-15238465 ]
Hudson commented on AMBARI-15809:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #4643 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4643/])
AMBARI-15809 Web Client Does Not Expose Parameters For All Alert Types (zhewang: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ea0f60b606960dc1efd7db4c5e6cf3879d948e60])
* ambari-web/app/controllers/main/alerts/definition_configs_controller.js
> 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)