How Do I Consolidate AIX ALOG Files?

To successfully perform consolidation of AIX log files, Argent Data Consolidator uses the getlog utility.

The reason is AIX servers maintain two types of log files: one is accessible using standard file commands (such as cat or tail), while the other is accessible only through the alog command.

The utility is written in Perl, and implements /alog and /last pseudo-directories.

It should be deployed in the home directory of the user account used to connect to the AIX server.

The permissions for the utility should be set to 554.

To enable the correct operation of Argent Rules, the data command in the Licensing Manager for AIX server should be set to use the getlog utility.

Example

getlog $LOGFILE$ | tail -n200

When Argent requests a log file, getlog is invoked. It will check if the log file requested is located in one of the pseudo-directories. If it is, it will execute the appropriate AIX commands to get the contents of the log file.

Example

For /alog, the following is executed:

alog -t <type> -o

Otherwise, it will just cat the file.

This way, a uniform access to the log files is achieved for AIX servers.

The utility is installed with the Argent Data Consolidator and can be found in

drive:\ARGENT\ArgentManagementConsole\ArgentDataConsolidator