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

Rahul Pathak updated AMBARI-19345:
----------------------------------
    Comment: was deleted

(was: I was able to workaround STORM_UI_SERVER and Storm Server Process by 
setting ui.port to same as ui.https.port and modifying AlertDefinition for 
STORM_UI_SERVER as below.
{code}
{
  "AlertDefinition" : {
    "cluster_name" : "h1",
    "component_name" : "STORM_UI_SERVER",
    "description" : null,
    "enabled" : true,
    "help_url" : null,
    "id" : 153,
    "ignore_host" : false,
    "interval" : 1,
    "label" : "Storm Web UI",
    "name" : "storm_webui",
    "repeat_tolerance" : 1,
    "repeat_tolerance_enabled" : false,
    "scope" : "ANY",
    "service_name" : "STORM",
    "source" : {
      "reporting" : {
        "critical" : {
          "text" : "Connection failed to {1} ({3})"
        },
        "warning" : {
          "text" : "HTTP {0} response from {1} in {2:.3f}s ({3})"
        },
        "ok" : {
          "text" : "HTTP {0} response in {2:.3f}s"
        }
      },
      "type" : "WEB",
      "uri" : {
        "kerberos_principal" : "{{storm-env/storm_ui_principal_name}}",
        "connection_timeout" : 5.0,
        "kerberos_keytab" : "{{storm-env/storm_ui_keytab}}",
        "http" : "{{storm-site/ui.port}}",
        "https_property_value" : "HTTPS_ONLY",
        "default_port" : 0.0,
        "https" : "{{storm-site/ui.https.port}}"
      }
    }
  }
}
{code}

For REST metrics I tried changing 
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/STORM/0.10.0/metrics.json
 however I am not sure how to add truststore password and file.)

> Storm REST metrics are not available when Storm UI is running in HTTPS
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-19345
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19345
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.4.1, 2.4.2
>            Reporter: Rahul Pathak
>         Attachments: storm summary.png
>
>
> Enable storm ui for https as per below document.
> http://storm.apache.org/releases/1.0.1/SECURITY.html
> Storm UI works fine and connect successfully using https.
> However ambari alert for storm UI breaks, also ambari server keeps trying to 
> fetch REST metrics using http instead of https.  
> !storm summary.png!



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

Reply via email to