Zhe (Joe) Wang created AMBARI-15809:
---------------------------------------
Summary: 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
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)