updated telegraf state

This commit is contained in:
Paul 2023-03-10 00:05:04 +01:00
parent 4eaf26944f
commit 95a80ddb5f
7 changed files with 6 additions and 8 deletions

View File

@ -12,7 +12,7 @@ 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

View File

@ -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:

View File

@ -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

View File

@ -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