Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
SYSLOG Forwarding
(view source)
Revision as of 12:15, 20 September 2014
508 bytes added
,
12:15, 20 September 2014
m
no edit summary
Line 1:
Line 1:
==SME8.x==
==SME8.x==
====Fowarding syslog stream tot a remote host====
====Fowarding syslog stream tot a remote host====
−
Create the following a custom template directory
:
+
Create the following a custom template directory
on your source server (example 192.168.1.1)
mkdir -p /etc/e-smith/templates-custom/etc/syslog.conf
mkdir -p /etc/e-smith/templates-custom/etc/syslog.conf
and copy the existing template fragments to this new custom template directory:
and copy the existing template fragments to this new custom template directory:
Line 17:
Line 17:
The new template needs to be expanded by:
The new template needs to be expanded by:
expand-template /etc/syslog.conf
expand-template /etc/syslog.conf
−
And restart syslog:
And restart syslog:
Line 23:
Line 22:
From here on, all syslog messages will be send to the remote host over port 514
From here on, all syslog messages will be send to the remote host over port 514
+
On the remote host (192.168.1.170) there a 2 actions required to be able to receive remote syslog messages:
+
* 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)
+
+
=====Uninstall=====
+
To uninstall the forwarding of syslog messages on your source server, remove the custom template directory:
+
rm -f /etc/e-smith/templates-custom/etc/syslog.conf
+
and restart syslog
+
service syslog condrestart
RequestedDeletion
3,704
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search