HP Systems Insight Manager 6.0 Command Line Interface Guide

Return values
MeaningValue
Successful completion.0
Command line syntax error.2
An error occurred during operation.>0
Examples
Example 1
To create a new server certificate with the specified X.509 distinguished name, enter mxcert -n CN=Bob
O=BobCo L=Anytown C=US A=alt .
Example 2
To import a trusted certificate called sample.cert into the keystore, enter mxcert -t -f sample.cert.
Example 3
To list the certificates in the keystore (short format), enter mxcert -ln.
Example 4
To list the certificates in the keystore (long format), enter mxcert -ld.
Note: The mxcert output includes the alternative names only for the -ld option.
mxcollection
Adds, lists, modifies, or removes collections and members of collections in HP SIM.
Synopsis
mxcollection -a -f filename
mxcollection -a mem -f filename
mxcollection -reorder mem -f filename
mxcollection -m mem -f filename
mxcollection -d existcollname
mxcollection -r mem -f filename
mxcollection -ln
mxcollection -lf existcollname [-b encoding ]
mxcollection -mv existcollname -from fromparentcollname -to toparentcollname [-branch
sysbranch|evbranch ]
mxcollection -cp existcollname -name newcollname -to toparentcollname [-branch
sysbranch|evbranch ]
mxcollection -a combo newcombocollname -syscoll systemcollname -evcoll eventcollname
-parent toparentcollname [-branch sysbranch|evbranch ]
Description
The mxcollection command enables you to add, list, modify, copy or delete collections.
NOTE: In earlier HP SIM releases, categories were created and manipulated with mxquery . In HP SIM
5.0 and later, collections are an extension of categories, and are managed with mxcollection, which
Example 1 23