HP Systems Insight Manager 5.3 Command Line Interface reference guide

List the WBEM subscriptions for the specified CMS. If a destination is not specified, the
default is to list subscriptions to the CMS on which the command is run.
-m
Move WBEM subscriptions from one CMS to another. If the current CMS is not specified
the default is the CMS on which the command is run. The new destination CMS is required.
-n nodenames
Specify a list of node names. This option is used with -a, -r, -l and -m.
-f filename
Specify a list of node names with a file. Each node name is entered on a separate line. This
option is used with -a, -r, -l and -m.
-t indicationtype
Specify which type of indications to subscribe to. The only valid value is health. This
option is used with the -a and -r options to add or remove health lifecycle event
subscriptions for HP NonStop Kernel servers.
Return value
mxwbemsub returns one of the following error codes:
Completed successfully with no errors.0
Command line syntax error.2
An error occurred during operation.>0
Examples
Example 1
To create WBEM event subscriptions from the node
mycomputer.ak.hp.com
, enter mxwbemsub -a -n
mycomputer.ak.hp.com. The destination for this command is the CMS on which the command is running.
Example 2
To create WBEM subscriptions for the node
mycomputer.ak.hp.com
, enter mxwbemsub -a
destinationcms.ak.hp.com -n mycomputer.ak.hp.com. The destination for this command is
destinationcms.ak.hp.com
.
Example 3
To remove WBEM event subscriptions from the node
mycomputer.ak.hp.com
, enter mxwbemsub -r -n
mycomputer.ak.hp.com. This command removes subscriptions whose destination is the CMS on which
the command is running.
Example 4
To remove subscriptions from the node
mycomputer.ak.hp.com
, enter mxwbemsub -r
destinationcms.ak.hp.com -n mycomputer.ak.hp.com. This command removes subscriptions
whose destination is
destinationcms.ak.hp.com
.
Example 5
To list WBEM event subscriptions from the nodes
mycomputer
, and
yourcomputer
, enter mxwbemsub -l
-n mycomputer yourcomputer. This command lists subscriptions whose destination is the CMS on
which the command is running.
Example 6
To list subscriptions with the destination
destinationcms
from the nodes
mycomputer
, and
yourcomputer
,
enter mxwbemsub -l destinationcms -n mycomputer.ak.hp.com yourcomputer.ak.hp.com.
104 Command descriptions