This repository has been archived on 2026-05-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
visio_nrd/roles/jitsi-enable-stats/templates/telegraf-general-nrd.conf.j2
T
2020-05-26 11:21:24 +02:00

43 lines
1.7 KiB
Django/Jinja

[global_tags]
# Configuration for telegraf agent
[agent]
interval = "60s"
debug = false
hostname = "{{ inventory_hostname }}"
round_interval = true
flush_interval = "10s"
flush_jitter = "0s"
collection_jitter = "0s"
metric_batch_size = 1000
metric_buffer_limit = 10000
quiet = false
logfile = ""
omit_hostname = false
###############################################################################
# OUTPUTS #
###############################################################################
[[outputs.influxdb]]
urls = [ "https://influxdb.nereide.fr" ]
username = "telegraf"
password = "{{ vault_telegraf_nrd_passwd }}"
###############################################################################
# INPUTS #
###############################################################################
[[inputs.processes]]
[[inputs.cpu]]
percpu = false
[[inputs.disk]]
interval = "3600s"
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
fielddrop = ["total","used","inodes_free","inodes_total","inodes_used"]
[[inputs.mem]]
fielddrop=["buffered","cached","slab","available_percent","used_percent","wired","commit_limit","commited_as","dirty","high_free","high_total","huge_page_size","huge_pages_free","huge_pages_total","low_free","low_total","mapped","page_tables","shared","sreclaimable","sunreclaim","swap_total","vmalloc_chunk","vmalloc_total","vmalloc_used","write_back","write_back_tmp"]
[[inputs.system]]
fielddrop=["n_users","uptime_format","uptime","n_cpus"]