HP Systems Insight Manager 7.1 Command Line Interface Guide

reportname
Specify the name of a report. Specifying an invalid report name results in an
invalid name return value. If the report name contains spaces, enclose it in
quotation marks.
categoryname
Specify the name of a report category. Specifying an invalid report category name
results in an invalid name return value. If the category name contains spaces,
enclose it in quotation marks.
External influences
For HP-UX or Linux, LANG determines the default encoding that the system will use to output XML
data if no encoding is specified on the command line. If LANG is not specified or null, or LANG
does not correspond to a recognized encoding, it defaults to C (see lang (5)). In this case, use
the -b option to specify the encoding of the XML data.
Return values
MeaningValue
Successful completion.0
Command completed with an error.1
Specified command arguments constituted bad usage.2
Specified command is not found or has been disabled
for remote execution.
3
User/client does not have sufficient privileges to execute
the command.
4
No valid licenses exist for the command.6
Command has not completed execution.7
Security token was not valid.8
SessionID was invalid. Can only be returned from status()
calls.
9
Examples
Example 1
To add the reports defined in the /home/user1/defs/myreportdef file, enter mxreport
-a -f "/home/user1/defs/myreportdef".
Example 2
To delete the report Inventory - Third Floor Servers, enter mxreport -d "Inventory - Third
Floor Servers".
Example 3
To delete the report category Old Array Controllers, enter mxreport -r "Old Array
Controllers".
Example 4
To create the report category specified in the file /home/user1/defs/myreportcatdef, enter
mxreport -c -f "/home/user1/defs/myreportcatdef".
98 Command descriptions