mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 04:18:34 +01:00
feat: more syslog/telegraf stuff
This commit is contained in:
@@ -90,7 +90,9 @@ mail.err /var/log/mail.err
|
||||
{% if monitoring_master %}
|
||||
$CreateDirs on
|
||||
$template RemoteLogs,"/var/log/rsyslog/%HOSTNAME%/%PROGRAMNAME%.log"
|
||||
|
||||
*.* ?RemoteLogs
|
||||
*.* @@(o)127.0.0.1:6514;RSYSLOG_SyslogProtocol23Format
|
||||
{% else %}
|
||||
*.* @@{{ RSYSLOG_SERVER }}:514
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user