Home > HP-UX, Linux, Redhat > Syslog output to remote host

Syslog output to remote host

Syslog will output to UDP port 514 on a remote host.

Configuring syslog to remote hosts on the local sending host:
For RHEL/OEL Linux:
Edit /etc/syslog.conf
Append the desired messages to receive to remote host:
*.* @
#service syslogd restart

On HP-UX:
Edit /etc/syslog.conf
Choose the level of logging desired.
Append to file.
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info;*.debug @
#/sbin/init.d/syslogd stop
#/sbin/init.d/syslogd start

Test by generating a syslog message:
#logger “Test alert from “

Categories: HP-UX, Linux, Redhat
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: