where did my mail go?
[mirror/dsa-puppet.git] / templates / syslog-ng.conf.erb
index f811df4..c903ced 100644 (file)
@@ -103,7 +103,9 @@ source s_all {
 <%end%>
         # use the following line if you want to receive remote UDP logging messages
         # (this is equivalent to the "-r" syslogd flag)
-        # udp();
+<% if hostname == "paganini" -%>
+        udp();
+<%end%>
 };
 
 
@@ -366,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%>