Editing How to make your NAS a SYSLOG Server

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Note: As of DSM 3.0 Syslog-ng is part of the NAS firmware, and as of DSM 4.0 Syslog Server functionality is provided as an application. Hence if you have DSM3 see this wiki's discussion page for more information on how to access the built in syslog-ng. If you have DSM4 you may not need this wiki at all depending on exactly what you want to achieve.
This wiki gives step by step instructions on how to add SysLog Server functionality to your NAS by installing [http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/ syslog-ng]. After completing this modification your NAS can log the System messages from other devices on your network (if they support send to SysLog Server functionality). If installed and configured as per this wiki, syslog-ng will not affect your NAS's internal system logging (klogd and syslogd) which will carry on working as normal.  
This wiki gives step by step instructions on how to add SysLog Server functionality to your NAS by installing [http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/ syslog-ng]. After completing this modification your NAS can log the System messages from other devices on your network (if they support send to SysLog Server functionality). If installed and configured as per this wiki, syslog-ng will not affect your NAS's internal system logging (klogd and syslogd) which will carry on working as normal.  


This wiki was written after making the modification to a DS-207+ and CS-407 running DSM2, it should work on all other Synology models and firmware versions.
This wiki was written after making the modification to a DS-207+ and CS-407, it will almost certainly work on all other Synology models and firmware versions.


==What is a SysLog Server==
==What is a SysLog Server==
Line 40: Line 38:


==Overview of the Modification==
==Overview of the Modification==
'''NOTE: The Syslog-ng binary is included with DSM 3.0 (FW 1337). If you have DSM 3.0 you can skip the installation of ipkg and syslog-ng below, see this wiki's discussion page for more information'''
# Create a shared folder on your NAS called "logs" to store the received system log messages
# Create a shared folder on your NAS called "logs" to store the received system log messages
# Install ipkg if you have not previously installed it
# Install ipkg if you have not previously installed it
Line 50: Line 47:


==The Process==
==The Process==
'''NOTE: The Syslog-ng binary is included with DSM 3.0 (FW 1337). If you have DSM 3.0 you can skip the installation of ipkg and syslog-ng below, see this wiki's discussion page for more information'''
#Using an internet browser login to the Management webpage of your NAS as "admin"
#Using an internet browser login to the Management webpage of your NAS as "admin"
#Create a shared folder called "logs" on volume1. You can place it on another volume if you want but from now on I will assume it is on volume1
#Create a shared folder called "logs" on volume1. You can place it on another volume if you want but from now on I will assume it is on volume1
Line 95: Line 91:
#When ipkg has finished uninstalling syslog-ng close the [[Modifications|Command Line Interface]] session.
#When ipkg has finished uninstalling syslog-ng close the [[Modifications|Command Line Interface]] session.
#If you want too you can delete the files in the shared folder "logs" and then use the Management web page to remove the "logs" shared folder that you created.
#If you want too you can delete the files in the shared folder "logs" and then use the Management web page to remove the "logs" shared folder that you created.
[[Category:SynologyWiki]]
[[Category:ToBeExported]]
Please note that all contributions to wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)