| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| nimbusHost: {{nimbus_host}} |
| nimbusPort: {{nimbus_port}} |
| |
| {% if has_metric_collector %} |
| enableGanglia: False |
| |
| ganglia: |
| reportInterval: 60 |
| |
| enableMetricsSink: True |
| |
| metrics_collector: |
| |
| reportInterval: 60 |
| host: "{{metric_collector_host}}" |
| port: {{metric_collector_port}} |
| appId: "{{metric_collector_app_id}}" |
| |
| {% else %} |
| enableGanglia: True |
| |
| # ganglia configuration (necessary if ganglia reporting is enabled) |
| ganglia: |
| |
| # how often to report to ganglia metrics (in seconds) |
| reportInterval: 60 |
| |
| # the hostname of the gmond server where storm cluster metrics will be sent |
| host: {{metric_collector_host}} |
| port: {{metric_collector_port}} |
| |
| # address mode |
| # default is MULTICAST |
| addressMode: "UNICAST" |
| |
| # an <IP>:<HOSTNAME> pair to spoof |
| # this allows us to simulate storm cluster metrics coming from a specific host |
| #spoof: "192.168.1.1:storm" |
| {% endif %} |