mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 08:38:35 +01:00
feat: more syslog/telegraf stuff
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
CREATE USER telegraf WITH PASSWORD {{ influxdb_telegraf_password }} WITH ALL PRIVILEGES
|
||||
CREATE DATABASE telegraf
|
||||
CREATE RETENTION POLICY "4Weeks" ON "telegraf" DURATION 4w REPLICATION 1 DEFAULT
|
||||
4
roles/monitoring-master/templates/telegraf_influxdb.conf
Normal file
4
roles/monitoring-master/templates/telegraf_influxdb.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
[[outputs.influxdb]]
|
||||
database = "telegraf"
|
||||
username = "telegraf"
|
||||
password = "{{ influxdb_telegraf_password }}"
|
||||
@@ -0,0 +1,2 @@
|
||||
[[inputs.syslog]]
|
||||
server = "tcp://localhost:6514"
|
||||
Reference in New Issue
Block a user