Commit fc3435ba authored by HgO's avatar HgO
Browse files

define user agent

parent d93f0155
......@@ -5,7 +5,8 @@
[agent]
## Override default hostname, if empty use os.Hostname()
hostname = {{ ansible_fqdn | to_json }}
hostname = "{{ ansible_fqdn }}"
user_agent = "telegraf/{{ ansible_fqdn }}"
###############################################################################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment