HP Systems Insight Manager 7.1 Command Line Interface Guide
Password will be the password of username supplied for the -u options. In case of
missing password, the command will prompt for the password
Example
mxquiesce –u CMSFullRightUser –p CMSFullRightUserPassword
mxreport
Adds, deletes, runs, lists reports and report categories in HP SIM.
Synopsis
mxreport -a -f fully-qualified-file-name
mxreport -d existing-report-name
mxreport -r existing-report-category-name
mxreport -c -f fully-qualified-file-name
mxreport -e existing-report-name [-n] [-S
existing-system-collection-name-or-comma-
separated-nodes-list-when-used-with-option-(n) ] [-E
existing-event-collection-name ] [-x HTML|XML|CSV] [-o
fully-qualified-file-name ]
mxreport -eCat existing-category-name -S
existing-system-collectionname-or-comma-
separated-nodes-list-when-used-with-option(n) [-n] [-E
existing-event-collection-name ] [-x HTML|XML|CSV] [-o
fully-qualified-file-name ]
mxreport [-b encoding ] [-n valid-report-or-category-name ] -l -x [report|category]
Description
The mxreport command enables users with sufficient privileges to run reports, and to add, delete,
and list reports and report categories.
• mxreport -a -f fully-qualified-file-name
This command enables you to add reports if you have sufficient privileges. Report information
is provided in a report definition file (see mxreport(4)).
During an add operation, only reports with names that do not exist in the database are added.
If a duplicate report is detected, it is skipped, and HP SIM adds all non-duplicate reports.
Skipping duplicate reports does not affect the return value.
• mxreport -d existing-report-name
This command enables you to delete a report. You must specify an existing report, and you
must be the report owner or an administrative rights user.
• mxreport -r existing-report-category-name
This command enables you to remove a report category. Only an administrative rights user
or the report owner can remove a report category. HP SIM notifies you if you specify a
nonexistent report category name.
• mxreport -c -f fully-qualified-file-name
This command enables you to create a new report category. The category is defined in an
XML file. You must have the REPORT_MODIFICATION_PRIVILEGE to create a new report
category.
mxreport 95