enabled telegraf again and set failsave configuration

This commit is contained in:
2025-11-26 15:43:25 +01:00
parent 338a3b5ae2
commit 990b22176f
5 changed files with 48 additions and 5 deletions

View File

@@ -1,4 +1,17 @@
[[outputs.influxdb]]
urls = ["http://grafana.universe.local:8086"]
database = "linux"
## Timeouts BEGRENZEN, damit der Puffer nicht endlos wächst
timeout = "3s"
username = "telegraf"
password = "secret"
## Wenn die DB nicht erreichbar ist, nicht zu lange blockieren:
## nur wenige Wiederholungen
write_timeout = "3s"
## Ab Telegraf 1.20+ sinnvoll:
http_headers = { "Connection" = "close" }
## Fehler schnell melden → verhindert große Warteschlangen
skip_database_creation = false