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
-
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.
-
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.
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:
# we don't want the MARK ticks
SYSLOGD_OPTIONS="-m 0 -r"
then
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
-
Txs i was looking for that!
I have a freenas server and wanted that one logging to my sme.
Works perfectly.
Dirk
-
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
-
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?
-
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?
cd /etc/e-smith/templates-custom/etc/sysconfig/syslog
rm -f 90AllowRemoteSyslog
expand-template /etc/sysconfig/syslog
service syslog restart
HTH
Ciao
Stefano