HMC event to Syslog

Using syslogd on AIX to have HMC events logged Question How can I get alerted to HMC console events on my AIX system? Answer You can enable the HMC to send console events to a remote server on your network by using syslogd. On the HMC, enable syslogd and give it the hostname of the remote server. You can do this from the HMC restricted shell window or via ssh: # chhmc –c syslog –s add –h remotehost.domain.com On the AIX remote server, the syslogd daemon must be running and set up to receive messages over the network. In AIX, the /etc/syslog.conf file should be edited by un-commenting the appropriate lines at the bottom of the file, such as: *.debug /tmp/syslog.out rotate size 100k files 4 Ensure that the output log exists and refresh syslogd: # touch /tmp/syslog.out # refresh –s syslogd The /tmp/syslog.out file will now be updated when a new HMC console event is logged.

Comentarios

Publicar un comentario