You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Zhe (Joe) Wang (JIRA)" <ji...@apache.org> on 2016/04/12 22:46:25 UTC
[jira] [Resolved] (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:all-tabpanel ]
Zhe (Joe) Wang resolved AMBARI-15809.
-------------------------------------
Resolution: Fixed
Committed to trunk ea0f60b606960dc1efd7db4c5e6cf3879d948e60
> 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)