Changes

From SME Server
Jump to navigationJump to search
435 bytes added ,  15:16, 20 September 2014
m
no edit summary
Line 15: Line 15:  
where 192.168.1.170 is the IP address of the remote host. Obviously this is an example and you should use the IP address of your real syslog collecting server.
 
where 192.168.1.170 is the IP address of the remote host. Obviously this is an example and you should use the IP address of your real syslog collecting server.
   −
The new template needs to be expanded by:
+
To avoid unwanted mark messages to be send to the remote host, create the following custom template directory:
 +
mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/syslog
 +
 
 +
and create the following template-fragment within this directory:
 +
touch /etc/e-smith/templates-custom/etc/sysconfig/syslog/10NoMARKs
 +
with the following content
 +
# we don;t want the MARK ticks
 +
SYSLOGD_OPTIONS="-r -m 0"
 +
 
 +
 
 +
The new templates need to be expanded by:
 
  expand-template /etc/syslog.conf
 
  expand-template /etc/syslog.conf
 +
expand-template /etc/sysconfig/syslog
    
And restart syslog:
 
And restart syslog:
Line 25: Line 36:  
* open UDP/TCP port 514
 
* open UDP/TCP port 514
 
* forwarding incomming traffic from our syslog server (192.168.1.1) on port 514 to localhost (127.0.0.1)
 
* forwarding incomming traffic from our syslog server (192.168.1.1) on port 514 to localhost (127.0.0.1)
 +
    
=====Uninstall=====
 
=====Uninstall=====

Navigation menu