Top
Systemwalker Software Configuration Manager Operation Guide
Systemwalker

4.1.3 Audit Logs for Patch Distribution/Application Processing

When patch distribution and application processing is performed from the management console, the content of the operations performed in the Task management window is output as audit logs.

How to use audit logs

To collect audit logs for patch distribution and application processing, execute the process instance audit information acquisition command below.

[Windows]

<ServerView Resource Orchestrator installation directory>\SWRBAM\bin\swrba_audit

[Linux]

/opt/FJSVswrbam/bin/swrba_audit

The audit information that can be acquired for process instances is information about process instances that have completed since the last time the command was executed.

Privilege required/execution environment

[Windows]

[Linux]

Output file

The following table shows the file name, file size and number of generations for audit logs:

Log name

Description

File size

Number of generations

swrba_audit.log

This log contains audit logs.

10 MB

10 generations (*1)

*1:

Output destination

The output destination for logs is shown below.

[Windows]

Output destination

Output file

<ServerView Resource Orchestrator installation directory>\SWRBAM\var\audit

swrba_audit[n].log (where "n" is the number of generations)

[Linux]

Output destination

Output file

/opt/FJSVswrbam/var/audit

swrba_audit[n].log (where "n" is the number of generations)

Output format

Audit logs are CSV format files, with the following items output in the following order.

Information about a single process instance is displayed as a single record.

<Time when the process instance started>,<Person who started the process instance>,<Name of the process instance>,<Process instance state>,<Time when the process instance ended>,<Activity name>,<Task execution date/time>,<Person in charge>,<Status>,<Task processing>,...,<Task result>

Item

Description

Time when the process instance started

The time when the application was submitted

Person who started the process instance

The user ID of the person who submitted the application

Name of the process instance

Name of the process instance

  • Patch application request_xxx

  • Patch distribution request_xxx

Process instance state

State of the process instance

closed: Indicates that the process instance has completed

Time when the process instance ended

Time when the process instance ended

yyyy-mm-dd hh:mm:ss.sss

Activity name

Activity name

  • Patch application acceptance

  • Patch distribution acceptance

  • Schedule cancelation

  • Server check for normal operation

  • Server error check

  • Pre-execution script error check

  • Post-execution script error check

  • Patch application failure check

  • Patch distribution failure check

  • OS restart failure check

  • Pre-execution script transfer

  • Post-execution script transfer

  • OS patch application

  • OS restart

  • Patch application completion check

  • Directory creation

  • Directory deletion

  • Service/process start check

Task execution date/time

The date/time when the task was executed

Person in charge

The user ID of the user that executed the task

Status

The status of the task

COMPLETED: Indicates that the task has completed

Task processing

Name of the button used to execute the activity

  • apply

  • distribute

  • Successful

  • Retry

  • Continue

  • Cancel

  • Distribution complete

  • Application complete

  • Normal operation

  • Running

Task result

The result of the submitted application

  • Exit

  • Successful

  • Failed

  • Patch applied successfully

  • Patch distributed successfully

  • Server operating normally

  • Server error

Output example

"2012-05-09 16:44:10.830","user1","Patch application request_Server1(VZG0D8L02O0001)_143312","closed","2012-05-09 17:04:02.857","Patch application acceptance","2012-05-0916:44:12.138","111004","COMPLETED","apply","Exit"

Point

By using the scheduling function provided by the operating system (such as Task Scheduler for Windows or cron for Linux) to set up a schedule so that the process instance audit information acquisition command is executed at regular intervals, the audit logs for the process instances that have executed in between the last time the command was executed and the current command execution will be collected.