updated telegraf state
This commit is contained in:
parent
4eaf26944f
commit
95a80ddb5f
@ -12,10 +12,10 @@ telegraf-config-dir:
|
||||
telegraf-config-file:
|
||||
file.managed:
|
||||
- name: /etc/telegraf/telegraf.conf
|
||||
- source: salt://telegraf/telegraf.conf.j2
|
||||
- source: salt://telegraf/templates/telegraf.conf.j2
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 600
|
||||
- template: jinja
|
||||
- watch_in:
|
||||
- service: telegraf-service
|
||||
- service: telegraf-service
|
||||
|
@ -50,8 +50,6 @@ telegraf:
|
||||
urls:
|
||||
- '"http://localhost:8080/status"'
|
||||
response_timeout: "5s"
|
||||
ntpq:
|
||||
dns_lookup: true
|
||||
postfix:
|
||||
processes:
|
||||
swap:
|
||||
|
@ -28,7 +28,7 @@ telegraf-bin-symlink:
|
||||
telegraf-defaults-file:
|
||||
file.managed:
|
||||
- name: /etc/default/telegraf
|
||||
- source: salt://telegraf/telegraf_default.j2
|
||||
- source: salt://telegraf/templates/telegraf_default.j2
|
||||
- user: root
|
||||
- group: root
|
||||
- template: jinja
|
||||
|
@ -3,7 +3,7 @@
|
||||
telegraf-service-file:
|
||||
file.managed:
|
||||
- name: /etc/systemd/system/telegraf.service
|
||||
- source: salt://telegraf/telegraf.service.j2
|
||||
- source: salt://telegraf/templates/telegraf.service.j2
|
||||
- user: root
|
||||
- group: root
|
||||
- template: jinja
|
||||
@ -13,4 +13,4 @@ telegraf-service-file:
|
||||
telegraf-service:
|
||||
service.running:
|
||||
- name: telegraf
|
||||
- enable: true
|
||||
- enable: true
|
||||
|
@ -1,3 +1,3 @@
|
||||
#INFLUX_CONFIG="http://host:9999/api/v2/telegrafs/0401c1afe319d000"
|
||||
#INFLUX_TOKEN="test"
|
||||
INFLUX_CONFIG=/etc/telegraf/telegraf.conf
|
||||
INFLUX_CONFIG=/etc/telegraf/telegraf.conf
|
Loading…
Reference in New Issue
Block a user