Changes

Jump to navigation Jump to search
5 bytes removed ,  12:21, 8 September 2015
no edit summary
Line 28: Line 28:  
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.
   −
 
+
==== Adding a SYSLOG facility and receive WINDOWS event logs ====
----
  −
===SME 9.0 Server as SYSLOG server===
  −
 
  −
If you have network devices or appliances that can log to '''SYSLOG''', the following mini '''Howto''' shows how you can enable your SME Server to capture the '''SYSLOG''' messages and record them in your messages log.
  −
 
  −
You need to be root (su -) to do the following installation actions.
  −
 
  −
First create a custom template directory as follows:
  −
 
  −
mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/rsyslog
  −
cd /etc/e-smith/templates-custom/etc/sysconfig/rsyslog
  −
 
  −
Using for favourite editor, create the file '''90AllowRemoteSyslog''' and add
  −
the following lines:
  −
 
  −
# Enable the syslog to capture remote messages from the network
  −
SYSLOGD_OPTIONS="-r514 -m 0"
  −
 
  −
Now expand the template and restart the '''SYSLOG''' service.
  −
 
  −
expand-template /etc/sysconfig/rsyslog
  −
service rsyslog restart
  −
 
  −
You can now use:
  −
 
  −
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.
  −
 
  −
 
  −
----
  −
 
  −
=== Adding a SYSLOG facility and receive WINDOWS event logs ===
        Line 96: Line 63:  
  net start evtsys
 
  net start evtsys
    +
===SME 9.0 Server as SYSLOG server===
 +
 +
If you have network devices or appliances that can log to '''SYSLOG''', the following mini '''Howto''' shows how you can enable your SME Server to capture the '''SYSLOG''' messages and record them in your messages log.
 +
 +
You need to be root (su -) to do the following installation actions.
 +
 +
First create a custom template directory as follows:
 +
 +
mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/rsyslog
 +
cd /etc/e-smith/templates-custom/etc/sysconfig/rsyslog
 +
 +
Using for favourite editor, create the file '''90AllowRemoteSyslog''' and add
 +
the following lines:
 +
 +
# Enable the syslog to capture remote messages from the network
 +
SYSLOGD_OPTIONS="-r514 -m 0"
 +
 +
Now expand the template and restart the '''SYSLOG''' service.
 +
 +
expand-template /etc/sysconfig/rsyslog
 +
service rsyslog restart
 +
 +
You can now use:
 +
 +
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.
 +
 +
 +
----
 
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Administration:Monitoring]]
 
[[Category:Administration:Monitoring]]

Navigation menu