Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neutrinet
infra-ansible
Commits
fc3435ba
Commit
fc3435ba
authored
Aug 05, 2021
by
HgO
Browse files
define user agent
parent
d93f0155
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/telegraf/templates/telegraf/global.conf.j2
View file @
fc3435ba
...
...
@@ -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 }}"
###############################################################################
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment