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