HP Systems Insight Manager 7.2 Command Line Interface Guide

collection you want to remove. The following example creates a new collection called Test Collection
with two members, the Test Query collection and one server. The collection is placed under Systems
by Type in the hierarchy.
<?xml version="1.0" encoding="UTF-8" ?>
<collection-list xmlns="http://www.hp.com/hpsim5.1.0.0">
<collection name="Test Collection" type="system" parent="Systems by
Type">
<member name="Test Query" type="query" display-status="0"
default-view="tableview" hidden="false" />
<member name="cupux09" type="node" display-status="0"
default-view="tableview" hidden="false" />
</collection>
</collection-list>
To add to this collection, use the mxcollection a f testcoll.xml command, where
testcoll.xml contains the XML shown in the example.
Event management
You can use HP SIM to manage alerts from the systems you are managing. HP SIM accepts SNMP
traps and WBEM indications. This section discusses how to use the CLI to manage traps and
indications. For this discussion, the term event refers to either an SNMP trap or a WBEM indication.
Configuring HP SIM
In Inventory management, the Configuring HP SIM section discusses how to use
mxglobalprotocolsettings and mxnodesecurity to configure SNMP and WBEM
authorization credentials which is important for WBEM because root authorization is required to
subscribe to WBEM event notifications (indications.)
WBEM
The mxwbemsub command enables you to manage WBEM indication subscriptions for managed
systems that are able to send WBEM indications. Each managed server must have WBEM Services
(B8465BA) and the System Fault Management (SysFaultMgmt) products installed to enable WBEM
indications. Storage devices that support SMI-S configured to send WBEM, can also send
indications.
A WBEM subscription tells the managed system where to send indications using the WBEM protocol.
To create a subscription, use one of the following commands:
# mxwbemsub a [destCMS] n nodenames
# mxwbemsub a [destCMS] f nodefile.txt
The n option specifies the system names on the command line.
The f option specifies a file that contains the system names.
When using a file, each system name must be on a separate line. The destCMS parameter (optional)
tells the systems you are subscribing where to send the indications. If you do not provide the
destCMS parameter, the indications are sent to the system where the mxwbemsub command is
executed.
To remove a subscription, replace the a option with the r option. Removing a subscription
means the systems on the command line or in the file no longer sends WBEM indications to the
specified CMS.
To list the subscriptions for systems, replace the a option with the l option. If you provide the
destCMS parameter (optional), the subscriptions for CMS destCMS also appears. The mxwbemsub
command also enables you to move WBEM subscriptions from one CMS to another. The command
syntax is:
Event management 143