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

View File

@ -50,8 +50,6 @@ telegraf:
urls:
- '"http://localhost:8080/status"'
response_timeout: "5s"
ntpq:
dns_lookup: true
postfix:
processes:
swap:

View File

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

View File

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