projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define init q command
[mirror/dsa-puppet.git]
/
templates
/
syslog-ng.conf.erb
diff --git
a/templates/syslog-ng.conf.erb
b/templates/syslog-ng.conf.erb
index
f811df4
..
c903ced
100644
(file)
--- a/
templates/syslog-ng.conf.erb
+++ b/
templates/syslog-ng.conf.erb
@@
-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)
<%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%>
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%>