HP Systems Insight Manager 7.2 Technical Reference Guide

NOTE: You can also list subscriptions and move subscriptions to a new destination through the
CLI using the mxwbemsub command. See the HP Systems Insight Manager Command Line Interface
Guide, at http://www.hp.com/go/insightmanagement/sim/docs, for more information.
Related information
Subscribing to health lifecycle events
HP SIM enables you to add and remove health lifecycle event subscriptions for HP NonStop Kernel
servers using the CLI. If you subscribe to health lifecycle events for an HP NonStop Kernel server,
when the server's status changes, notification is sent to HP SIM and the server status is updated
immediately in the GUI instead of waiting for the next status collection.
Procedure 167 Adding or removing health lifecycle event subscriptions
1. Sign into the CLI. See Signing in for instructions.
2. Enter one of the following commands:
To add a health lifecycle event subscription for one or more servers, enter:
mxwbemsub -a [destination] ( ( -n nodenames ) | ( -f filename ) ) [-t
health]
The target system (node) names can be entered through the command line or an input
file. Each system name, entered on the command line or in a file, can be the IP address,
hostname, or FQDN of the system. You can specify the destination CMS for the
subscriptions. If the destination is not included, the default is the CMS on which the
command is run.
To remove a health lifecycle event subscription for one or more servers, enter:
mxwbemsub -r [destination] ( ( -n nodenames ) | ( -f filename ) ) [-t
health]
The target system (node) names can be entered through the command line or an input
file. Each system name, entered on the command line or in a file, can be the IP address,
hostname, or FQDN of the system. This command can delete subscriptions from another
CMS. If a CMS is not specified, the default is to remove subscriptions from the CMS on
which the command is run.
NOTE: See the HP Systems Insight Manager Command Line Interface Guide, at http://
www.hp.com/go/insightmanagement/sim/docs, for detailed information about mxwbemsub.
Related information
Creating an automatic event handling task
Perform the following procedure to create a new automatic event handling task to define a response
to a specific event.
NOTE: If you create an automatic event handling task and you do not select a predefined
collection that has event and system information in it, and then you use the mxtask -lf command
to create an .XML file that can be used to create another task, the task and collection that are
associated with the task are placed in the .XML file. If you delete the task, the collection is deleted
along with the task. Therefore, the .XML file can no longer be used to create a new task with the
collection that is referenced in the .XML file. Any time you create an automatic event handling
task that includes selecting event information and then system information, that information is stored
in a hidden collection that is unavailable for use by any task other than the immediate task. For
more information, see the HP Systems Insight Manager Command Line Interface Guide, at http://
www.hp.com/go/insightmanagement/sim/docs.
290 Operations