From 06ec7d5a7403bb6b81866611b2dc0d102a7bed63 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 11 Oct 2014 21:31:52 +0000 Subject: [PATCH] new loghost loghost-grnet-01 Signed-off-by: Martin Zobel-Helas --- modules/syslog-ng/templates/syslog-ng.conf.erb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/modules/syslog-ng/templates/syslog-ng.conf.erb b/modules/syslog-ng/templates/syslog-ng.conf.erb index c2278e3e..62cdc5c7 100644 --- a/modules/syslog-ng/templates/syslog-ng.conf.erb +++ b/modules/syslog-ng/templates/syslog-ng.conf.erb @@ -117,7 +117,7 @@ source s_local { <%- end -%> }; -<%- if (hostname == "lotti") || (hostname == "lully") -%> +<%- if (hostname == "lotti") || (hostname == "lully") || (hostname == "loghost-grnet-01") -%> source s_network { tcp6(port(5140) max-connections(200) tls( key_file("/etc/exim4/ssl/thishost.key") @@ -413,6 +413,16 @@ destination loghost-lully { ca_dir("/etc/ssl/debian/certs/") ) ); +}; + <%- end -%> + <%- if hostname != "loghost-grnet-01" -%> +destination loghost-loghost-grnet-01 { + tcp("loghost-grnet-01.debian.org" port (5140) + tls( key_file("/etc/ssl/debian/keys/thishost.key") + cert_file("/etc/ssl/debian/certs/thishost.crt") + ca_dir("/etc/ssl/debian/certs/") + ) + ); }; <%- end -%> @@ -424,11 +434,14 @@ log { <%- if hostname != "lully" -%> destination(loghost-lully); <%- end -%> + <%- if hostname != "loghost01-grnet-01" -%> + destination(loghost-loghost-grnet-01); + <%- end -%> }; -<%- if (hostname == "lotti") || (hostname == "lully") -%> +<%- if (hostname == "lotti") || (hostname == "lully") || (hostname == "loghost-grnet-01") -%> ############################################################################### ########## ON LOG HOST ######################################################## ############################################################################### -- 2.39.2