Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: dilligaf on May 04, 2007, 12:16:09 AM

Title: SYSLOG Server
Post by: dilligaf on May 04, 2007, 12:16:09 AM
I have an appliance that can write log files to a SYSLOG Server.
I have searched the forums for threads of anyone else setting one up, could not find anything.

Anyone having done this on SMEServer any pointers appreciated.
Thanks.
Title: Re: SYSLOG Server
Post by: Stefano on May 04, 2007, 10:02:01 AM
Quote from: "dilligaf"
I have an appliance that can write log files to a SYSLOG Server.
I have searched the forums for threads of anyone else setting one up, could not find anything.

Anyone having done this on SMEServer any pointers appreciated.
Thanks.


Code: [Select]

mkdir -p  /etc/e-smith/templates-custom/etc/sysconfig/syslog/

cp /etc/e-smith/templates/etc/sysconfig/syslog/10NoMARKs

cd  /etc/e-smith/templates-custom/etc/sysconfig/syslog/
pico 10NoMARKs


modify 10NoMARKs this way:

Code: [Select]

# we don't want the MARK ticks
SYSLOGD_OPTIONS="-m 0 -r"


then

Code: [Select]

expand-template /etc/sysconfig/syslog
service syslog restart


et voilĂ .. your Sme server is now a syslog server :-)

HTH
ciao

Stefano

BTW, via search link I've found this:
http://forums.contribs.org/index.php?topic=31322.0
Title: SYSLOG Server
Post by: Dirk on May 06, 2007, 07:58:52 PM
Txs i was looking for that!
I have a freenas server and wanted that one logging to my sme.
Works perfectly.

Dirk
Title: Syslog Howto
Post by: Marco Hess on May 07, 2007, 06:08:49 AM
As I have been setting up syslog on my SME servers a number of times, I have added a mini Howto in the Howto category on how I did it:

http://wiki.contribs.org/Syslog

Regards,

Marco
Title: Re: Syslog Howto
Post by: frenchi6625 on November 13, 2007, 02:37:04 PM
As I have been setting up syslog on my SME servers a number of times, I have added a mini Howto in the Howto category on how I did it:

http://wiki.contribs.org/Syslog

Regards,

Marco

I follwed this guy's howto but it's not working. How can I undo everything, or can I just try the second poster's suggestion?
Title: Re: Syslog Howto
Post by: Stefano on November 13, 2007, 06:39:53 PM
I follwed this guy's howto but it's not working. How can I undo everything, or can I just try the second poster's suggestion?

Code: [Select]
cd /etc/e-smith/templates-custom/etc/sysconfig/syslog
rm -f 90AllowRemoteSyslog
expand-template /etc/sysconfig/syslog
service syslog restart

HTH

Ciao

Stefano