Configuring the audit log file – HP Systems Insight Manager User Manual
Page 530
@!@,2006-02-23 13:15:43 CST, CONFIG, SUCCESS, ADD, NODE_GROUP, All Storage
Systems 001,SUMMARY,VIVO\djones,6866,351185185, Automatic update is true/false.
@!@,2006-02-27 11:05:42 CST, CONFIG, SUCCESS, MODIFY, NODE_GROUP, All Storage
Systems 001,SUMMARY,VIVO\djones,6904,1029055411, Automatic update is true/false.
@!@,2006-02-27 11:05:42 CST, CONFIG, SUCCESS, MODIFY, NODE_GROUP, All Storage
Systems 001,SUMMARY,VIVO\djones,6904,1029055411, Automatic update is true/false.
@!@,2006-02-27 11:05:42 CST, CONFIG, SUCCESS, MODIFY, NODE_GROUP, All Storage
Systems 001,SUMMARY,VIVO\djones,6904,1029055411, Automatic update is true/false.
Added EVASAN01. Removed EVASAN99.
Related topic
▲
Configuring the audit log file
Configure the Audit Log file to reside in a user specific directory.
To configure the Audit Log:
1.
For Windows, create a file named path.properties under C:\Program Files\HP\Systems
Insight Manager\config
.
For Linux and HP-UX, create a file named path.properties under /etc/opt/mx/config.
2.
For Windows, add the following entry in the path.properties file: LOG=\\Auditlog\\Logs or
LOG=C:/Auditlog/Logs
.
For HP-UX, add the following entry in the path.properties file: LOG=/var/opt/mx/logs .
Note: C:\\Auditlog\\Log is listed here as an example for Windows. This path is user defined.
Note: /var/opt/mx/logs is listed here as an example for HP-UX. This path is user-defined.
3.
For Linux and HP-UX, restart the HP Systems Insight Manager (HP SIM) daemons (mxstop and
mxstart
).For Windows, restart the HP SIM service. After restarting the service, a new log file named
mx.log
resides in the directory specified in path.properties file.
Five variables can be defined in the log.properties file:
•
MX_LOG_FILENAME for the file name. The default is "MX_LOG_FILENAME=mx".
•
MX_LOG_FILEEXT for the file extension. The default is "MX_LOG_FILEEXT=log".
•
MX_LOG_FILESIZE for the maximum file size. The default is "MX_LOG_FILESIZE=20".
•
MX_LOG_ROLLFILEEXT for the file extension of the roll-over name. The default is
"MX_LOG_ROLLFILEEXT=old"
.
•
MX_LOG_QUEUESIZE for the amount of memory allocated for queuing items to be written to the Audit
Log. The default is "MX_LOG_QUEUESIZE=300".
The maximum file size is set in megabytes.
When the Audit Log file reaches the maximum file size, the log is renamed with MX_LOGROLLFILEEXT
extension, and a new file is started. If a previous version of the file has already been renamed with the
MX_LOG_ROLLFILEEXT
extension, it is an automatic roll-over of an audit log file. A roll-over occurs after
a task running is completed. However, after one hour exceeding the maximum file size, if the task is not
finished, the audit log file rolls over to another file.
CAUTION:
Change the queue size only with extreme care. If the queue is set too high, the log manager
consumes too much system memory.
Changes made to the log.properties file do not take effect until the log manager daemon is restarted.
For Windows, restart HP SIM service. For Linux and HP-UX, restart the log manager.
NOTE:
By default, for Linux and HP-UX, the path for the log file is set to /var/opt/mx/logs. This path
can be configured by editing the
LOG value in the /etc/opt/mx/config/path.properties file. If
530 Administering systems and events