Under Construction

Configuration of (r)syslogd

Every HMC offers the option of forwarding system messages to other systems using (r)syslogd. The protocols UDP, TCP or TLS (over TCP) can be used for forwarding. By default, UDP is used to forward messages. The LPAR tool offers the following commands for configuring (r)syslogd:

$ hmc help syslog
USAGE: hmc [<option> ...] <keyword> [<option> ...] [<argument> ...]

Recognized keywords for topic 'syslog' are:
   addsyslog [-v] <hmc> <hostname>|<IP> [udp|tcp|tls] [<discard_string> ...]
chsyslog [-v] <hmc> <hostname>|<IP> [udp|tcp|tls] [{+|-}]<discard_string> ...
   lssyslog [-o <format>] [{-f|-j|-y}] [-F <fields>] [-s <selections>] [-v] <hmc>
   rmsyslog [-v] <hmc> <hostname>|<IP> [udp|tcp|tls]
$

Remote syslog destinations can be added or removed using the “hmc addsyslog” and “hmc rmsyslog” commands. The target system can be specified either by host name or by IP address. If a host name is used, it must be resolvable on the HMC. The current remote sylslog destinations can be displayed with the “hmc lssyslog” command.