本文件已封存並已停止維護。

How to Configure AIX Syslog

更新日期: 2009年12月

適用於: Operations Manager 2007 R2

By default, the AIX platform does not log audit events. The logging configuration is controlled by the file located at /etc/syslog.conf. Perform the following steps to enable logging of all event messages at the debug level or higher.

To enable event logging on an AIX computer

  1. Using an appropriate editor, modify the /etc/syslog.conf file to contain the following line:

    *.info   /var/log/syslog.log     rotate size 1m files 10
    

    where /var/log/syslog.log is the location and name of the Syslog file. The Syslog file is rotated when it becomes larger than 1 megabyte (MB) and the number of rotated files is limited to 10.

    note附註
    Use the TAB key to separate priority, destination, and rotation parameters. Spaces do not work.

  2. At a command prompt, to refresh the computer’s configuration, enter # refresh -s syslogd.

  3. You will now need to enable the appropriate Cross Platform ACS AIX management pack rules as described in How to Enable ACS Rules.

顯示: