Changes

From SME Server
Jump to navigationJump to search
14 bytes removed ,  06:51, 8 February 2011
Line 7: Line 7:  
First create a custom template directory as follows:
 
First create a custom template directory as follows:
   −
  mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/syslog
+
mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/syslog
  cd /etc/e-smith/templates-custom/etc/sysconfig/syslog
+
cd /etc/e-smith/templates-custom/etc/sysconfig/syslog
    
Using for favourite editor, create the file '''90AllowRemoteSyslog''' and add
 
Using for favourite editor, create the file '''90AllowRemoteSyslog''' and add
 
the following lines:
 
the following lines:
   −
  # Enable the syslog to capture remote messages from the network
+
# Enable the syslog to capture remote messages from the network
  SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -r"
+
SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -r"
    
Now expand the template and restart the '''SYSLOG''' service.
 
Now expand the template and restart the '''SYSLOG''' service.
   −
  expand-template /etc/sysconfig/syslog
+
expand-template /etc/sysconfig/syslog
  service syslog restart  
+
service syslog restart  
    
You can now use:
 
You can now use:
   −
  tail -f /var/log/messages
+
tail -f /var/log/messages
    
to view new entries being added to your messages log and see if the '''SYSLOG''' entries of your network device or appliance are showing up.
 
to view new entries being added to your messages log and see if the '''SYSLOG''' entries of your network device or appliance are showing up.
374

edits

Navigation menu