Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

2.18 mpsetlogsend_omgr Command

Synopsis

mpsetlogsend_omgr

mpsetlogsend_omgr {-n|-y}

mpsetlogsend_omgr [{-n|-y}] -f <output file> -k {<number of storage days>|unlimit}

mpsetlogsend_omgr -d

Description

This command configures the settings for outputting the audit logs that are output by Systemwalker Operation Manager.

Options

No option specified

Outputs the current settings for audit log output. The following information is output:

LOG NAME          : Systemwalker Operation Manager audit log
LOG OUTPUT        : ON
LOG KEEP DAYS     : 31 day(s)
OUTPUT FILE       : /var/opt/FJSVftlo/audit/log/mp_omgr_auditYYMMDD.log

The output content is as follows:

LOG NAME

This item is the name of the target audit log.

LOG OUTPUT

"ON" is displayed if settings have been made so that audit logs are output, and "OFF" is displayed if such settings have not been made.

LOG KEEP DAYS

This item displays the number of days for which audit logs that have been output in the past will be stored. Information will be displayed as "unlimited", "1 day(s)", "2 day(s)", ... "999 day(s)"

OUTPUT FILE

This item displays the output file for audit logs. In the content displayed, the "YYMMDD" part is actually replaced by the date (where "YY" is the last two digits of the year, "MM" is the month and "DD" is the day of the month).

LOG COLLECTION (*1)

"ON" is displayed if settings have been made so that audit logs are collected by the Systemwalker Centric Manager audit log management function, and "OFF" is displayed if such settings have not been made.

COLLECTION FILE (*1)

This item outputs the files to be collected by the Systemwalker Centric Manager audit log management function. If log collection settings have never been made, "-" will be output.

*1: The audit log management function can be used only if Systemwalker Operation Manager coexists with Operation Management Servers, Asset Management Servers, Section Management Servers, Job Servers and Operation Management Clients running Systemwalker Centric Manager V13.2.0 or later.

-f <output file>

Specify the output file for audit logs using the full path specification.

Up to 246 bytes' worth of characters can be specified for the output destination.

Log files will be output with the name specified by the "-f" option plus "YYMMDD.log", where YYMMDD indicates the date.

Example:

If "/var/audit/audit_log" has been specified for the "-f" option, the log file that is actually output on May 19, 2006 will be "/var/audit/audit_log060519.log".

-k <number of storage days>

Specify the maximum number of days for which audit logs will be held. After "-k", specify either a number between 1 and 999 (units are "days") or "unlimit". The command will terminate with a parameter error if a value of 1000 or more is specified. If "unlimit" is specified, the audit log files that have been output will not be deleted.

-d

Specify this option to stop outputting audit logs. If this option is specified, Systemwalker Operation Manager audit logs will no longer be output.

At the same time, collection using the Systemwalker Centric Manager audit log management function will also stop. To only stop collection using the audit log management function, use the "-n" option. (*1)

-y (*1)

Specify this option to collect audit log files onto an Operation Management Server using the Systemwalker Centric Manager audit log management function. If this option is specified, audit logs that have been output will be automatically collected on the Operation Management Server.

Collection settings for the files collected by the audit log management function are also updated by this option.

-n (*1)

Specify this option to pause the collection of audit log files on the Operation Management Server using the Systemwalker Centric Manager audit log management function. If this option is specified, audit logs that have been output will stop being collected on the Operation Management Server. To start collecting audit logs again, execute this command again, specifying the "-y" option.

*1:

These options can be used only if Systemwalker Operation Manager coexists with Operation Management Servers, Asset Management Servers, Section Management Servers, Job Servers and Operation Management Clients running Systemwalker Centric Manager V13.2.0 or later.

Return Values

Return value

Meaning

0

Normal termination

Value other than 0

Abnormal termination

Command Location

Windows

Systemwalker Operation Manager installation directory\mpwalker.jm\bin

Solaris
HP-UX
AIX
Linux

/usr/bin

Privilege Required

This command can be executed by only system administrators (superusers or users belonging to the Administrators group).

Cautions