HP Systems Insight Manager 6.0 Command Line Interface Guide

# mxreport l x category
The -n option enables you to select a specific report, or specific report category, for display. The output is
XML formatted data that includes details of the report or report category. To view the details of a report,
enter:
# mxreport l x report n report name
To view the details of a report category, enter:
# mxreport l x category n report category name
Third-party device management
HP SIM can manage third-party equipment if the equipment management agents and fault management
mechanisms adhere to industry standards like SNMP and WBEM. HP SIM provides system definitions for a
number of third-party systems. The System Type Manager enables you to modify existing definitions, add
new definitions for equipment unknown to HP SIM, and remove definitions using the mxstm command.
Through the command line, the mxstm command enables you to add, remove, and list system type definitions.
For more information on this command, see the mxstm man page.
To add a new system type definition, use one of the following commands:
# mxstm a n product-name p protocol (x attribute=value)+
# mxstm a f stmfile.xml
The n product-name option specifies the product name of the product you want to add. For example,
HP rx1600 is a product name.
The p protocol option selects the protocol to use for data collection, and should be set to SNMP.
The x option provides the definitions for one or more attributes for the system. Examples of SNMP
attributes are the system OID, product type, product subtype, and operating system name.
The second form of the add command enables you to provide the system type definitions in XML format. In
the example above, the –f stmfile.xml command tells HP SIM to get the system type definitions from the file
stmfile.xml. For a complete description of the required XML format, see the file
/opt/mx/dtd/stmrules.dtd.
To remove system type definitions, use one of the following commands:
# mxstm r n product-name
# mxstm r f stmdel.xml
The first command removes the system type with the product name product-name. The second command
removes all of the system types defined in the XML file stmdel.xml.
To see a listing of existing system type definitions, use one of the following commands:
# mxstm l [n product-name]
# mxstm l f stmout.xml
The first command lists all of the product names for all of the system type definitions in HP SIM. The n
product-name option displays the full definition of the product product-name, and other information such
as protocol, OID data, product type, and vendor. The second command produces the full definition for every
system type in HP SIM in XML format, saving the data in the file stmout.xml.
Managing collections
HP SIM enables you to create groupings of systems or events called collections. Each collection is a query
into the HP SIM database. HP SIM users can create two types of collections, shared collections and private
collections. Share collections are available to all HP SIM users. Private collections are only to the user who
created the collection. Collections enable you to define a hierarchical organization of collections. For
example, the following hierarchy exists in the HP SIM predefined collections:
Systems
Private
Shared
Systems by Operating System
HP-UX
Microsoft Windows Server 2003
116 Infrastructure management using CLI