From: Peter Palfrader Date: Tue, 23 Mar 2010 12:21:56 +0000 (+0100) Subject: corelli logs to paganini X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8b6348b5d35fe2df87ce954d77657eb5f6c08059;p=mirror%2Fdsa-puppet.git corelli logs to paganini --- diff --git a/templates/syslog-ng.conf.erb b/templates/syslog-ng.conf.erb index c87596cea..c903ced4f 100644 --- a/templates/syslog-ng.conf.erb +++ b/templates/syslog-ng.conf.erb @@ -368,3 +368,14 @@ log { destination(dp_xconsole); }; <%end%> + +<% if hostname == "corelli" -%> +destination loghost-paganini { + udp("192.168.2.10",port(514)); +}; + +log { + source(s_all); + destination(loghost-paganini); +}; +<%end%>