From 952296612130af74d608581ceff22e5562c2c4bd Mon Sep 17 00:00:00 2001 From: cw-sakamoto Date: Tue, 30 Jan 2018 16:11:17 +0900 Subject: [PATCH] jmxfetcher reporter host change 'bind_host' to 'statsd_forward_host'(datadog.conf parameter) --- jmxfetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmxfetch.py b/jmxfetch.py index 47c0d11d1d..221cf9b14f 100644 --- a/jmxfetch.py +++ b/jmxfetch.py @@ -223,7 +223,7 @@ def get_configuration(cls, confd_path, checks_list=None): def _start(self, path_to_java, java_run_opts, jmx_checks, command, reporter, tools_jar_path, custom_jar_paths, redirect_std_streams): if reporter is None: - statsd_host = self.agent_config.get('bind_host', 'localhost') + statsd_host = self.agent_config.get('statsd_forward_host', 'localhost') if statsd_host == "0.0.0.0": # If statsd is bound to all interfaces, just use localhost for clients statsd_host = "localhost"