Compare commits

...

2 Commits

Author SHA1 Message Date
e8d32c9c27 saving uncommitted changes in /etc prior to dnf run 2021-09-26 22:25:35 +03:00
a373247ee2 daily autocommit 2021-09-21 16:54:09 +03:00
4 changed files with 17 additions and 7 deletions

View File

@@ -4544,6 +4544,7 @@ maybe chmod 0644 'rspamd/worker-normal.inc'
maybe chmod 0644 'rspamd/worker-proxy.inc' maybe chmod 0644 'rspamd/worker-proxy.inc'
maybe chmod 0644 'rsyslog.conf' maybe chmod 0644 'rsyslog.conf'
maybe chmod 0755 'rsyslog.d' maybe chmod 0755 'rsyslog.d'
maybe chmod 0640 'rsyslog.d/00-backup.conf'
maybe chmod 0644 'rsyslog.d/ignore-systemd-session-slice.conf' maybe chmod 0644 'rsyslog.d/ignore-systemd-session-slice.conf'
maybe chown 'rundeck' 'rundeck' maybe chown 'rundeck' 'rundeck'
maybe chgrp 'rundeck' 'rundeck' maybe chgrp 'rundeck' 'rundeck'

View File

@@ -12,13 +12,12 @@
127.0.0.1 127.0.0.1
89.121.131.74 89.121.131.74
86.104.210.218 86.104.210.218
86.104.210.219
86.104.210.220
86.104.210.229
188.214.17.248
192.168.1.0/24 192.168.1.0/24
# RDS # RDS
188.26.137.124
79.117.139.214
86.126.27.172
188.26.136.75
188.25.146.141
100.127.28.233
188.25.150.232 188.25.150.232
79.117.167.213

2
hosts
View File

@@ -79,7 +79,7 @@
192.99.44.187 hip-new 192.99.44.187 hip-new
# SolaDrive # SolaDrive
198.12.87.151 bogdan-sola 198.12.87.151 bogdan-sola
192.3.136.2 server1.desibees.com 192.3.136.2 server1.desibees.com

10
rsyslog.d/00-backup.conf Normal file
View File

@@ -0,0 +1,10 @@
# enable log reception from remote hosts
$ModLoad imudp
$UDPServerRun 514
$AllowedSender UDP, 192.168.1.4/32
$template RemoteStore, "/var/log/%HOSTNAME%.log"
:source,isequal,"backup",-?RemoteStore
& stop