Tools
Kiwi Syslog setting up Unix machine
This is how you set up a Unix machine to send syslog messages on Kiwi Syslog Server.
First published date
Last published date
Overview
Product section
Resolution
Note: With a Unix host, you need super user privileges to modify the files following files:
/etc/syslog.conf
/etc/hosts
- Restart (HUP) the Syslog Server on the Unix box.
- Use vi or any text file editor of your choice to modify the
/etc/hostsfile. Samplehostsfile:# # Internet host table # 127.0.0.1 localhost 192.168.230.23 loghost
This allows you to use the hostnameloghostto direct your messages to.
The IP address used forloghostshould be the IP address of the Windows or NT box you are running Kiwi Syslog Server on. - Use vi or any text file editor of your choice to modify the
/etc/syslog.conffile. Samplesyslog.conffile:# Syslog configuration file. # *.err;kern.notice;auth.notice /dev/console *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator *.alert root *.emerg @loghost mail.debug @loghost
You will notice that all facilities with a level of
emergwill be forwarded to theloghost(defined in the hosts file) and any mail alerts with a level of debug will also be forwarded. - The general idea is
Facility.Level <TAB> @loghost - Save this file after editing and restart the Syslog Server on the Unix box for it to take effect.
- Find the syslog Server process ID, and send it a
SIGHUPsignal. - Test if the syslog server is writing messages using the logger command, such as
logger –p user.emergUnix test message. - If in doubt resort to
man syslogd.