24 systems insight manager audit log, Configuring the systems insight manager audit log, Configuring the tool definition files – HP Systems Insight Manager User Manual
Page 112: Configuring the log.properties file, Viewing the audit log, Example audit log
24 Systems Insight Manager Audit log
Systems Insight Manager logs all
performed by all Systems Insight Manager users on all systems. The
information is stored in the Audit Log file on the CMS. Several features of the Systems Insight Manager Audit
Log are configurable. For example, you can specify which tools log data and the maximum Audit Log file
size. The Systems Insight Manager Audit Log is configured through the log.properties file, and tool
logging is enabled or disabled through the XML tool definition files.
On Windows, the audit log can be found at the <SIM installdir>/logs/mx.log . On Linux and
HP-UX, the audit log can be found at /var/opt/mx/logs/mx.log. These are rolled over to mx.log.old
when the file reaches the maximum default size of 20 MB.
Configuring the Systems Insight Manager audit log
Configuring the Systems Insight Manager Audit log is performed from the CLI, and you must be signed-in
as root or administrator.
Configuring the tool definition files
The XML tool definition file provides an option to disable logging of SSA and MSA command tools. The log
attribute for the command element specifies whether the results of the command are output to the Systems
Insight Manager log file. Command output is logged by default.
Configuring the log.properties file
You might need to create the file and name it log.properties if one does not exist in the directory.
Systems Insight Manager uses default values when the file does not exist or when a variable is not defined
in the file.
For Windows, the file is located in <SIM installdir>/logs/mx.log.
For Linux and HP-UX, the file is located in /var/opt/mx/logs/mx.log. This is rolled over to the
mx.log.old
file when it reaches the maximum configured size of 20MB.
The file is rolled over to the mx.log.old file when it reaches the maximum configured size of 20MB.
Viewing the audit log
Systems Insight Manager logs all tasks performed by all Systems Insight Manager userson all systems. The
information is stored in the Audit Log file on the CMS.
NOTE:
You must be signed-in as root or administrator (or any user with administrative rights) to read the
audit log file directly.
Procedure 24-1 Viewing the Systems Insight Manager audit log
1.
Select Tasks & Logs
→View HP Systems Insight Manager Audit Log. The Audit Log page appears.
2.
Select the log entries you want to view by selecting one of the following options:
•
most recent 40 entries
. Select this to view a selectable number of the most recent log entries.
The default is set to view the 40 most recent log entries.
•
from entry " " to entry " "
. Select this option to view an indexed range of log entries.
3.
Click View Now. The requested log entries appear.
Example audit log
Example Audit Log: User “partner” runs tool “ls” on cup11.hp.com from cup12.hp.com
from CMS cup12.hp.com
104611: 2008-04-24 11:17:45
PDT,JOB,PROGRESS,START,JOB,44641_cup12.hp.com,VERBOSE,partner,,,
Configuring the Systems Insight Manager audit log
112