HP Systems Insight Manager 6.3 Command Line Interface Guide

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:
# mxwbemsub m [currentCMS] newCMS n nodenames
# mxwbemsub m [currentCMS] newCMS f nodefile.txt
This command moves the WBEM subscription from currentCMS to newCMS for the systems on
the command line (using n), or for the systems in the text file (using f). The parameter currentCMS
is optional, and if omitted the WBEM subscription is moved from the current system to newCMS.
SNMP
You must configure each managed system SNMP trap destination to point to the CMS. After
completing the configuration, Systems Insight Manager can receive SNMP traps.
There are two commands for managing SNMP MIB information. The mcompile command compiles
SNMP MIB files into an intermediate format, called a cfg file. For example, the command:
# mcompile [-d mibdir] mibfile.mib
compiles the mibfile.mib file into an intermediate file, called mibfile.cfg. If you provide
the d option, the mibfile.mib must reside in the directory mibdir. If the MIB file contains
IMPORTS from other MIB files, those MIB files must reside in the same directory as the mibfile.mib
file. The cfg file is placed in the same directory as the mibfile.mib file.
After compiling the MIBs, the mxmib command enables you to process the cfg file. You can
register, un-register, list registered MIBs, and list the traps for a specific registered MIB.
To register a newly-compiled MIB file, use the a option:
# mxmib a mibfile.cfg
This command replaces the data on an already-registered MIB if the MIB has been updated.
To un-register a mib, use the –d option:
# mxmib d mibfile.cfg
If you have several MIBs to register, you can create a text file and list the .cfg files of the MIBs
to register. This option registers MIBs, instead of executing multiple mxmib a commands. For
example, using the file name cfglist.txt, the command to register multiple MIBs using a text
file is:
# mxmib f cfglist.txt
To list all of the MIBs registered in Systems Insight Manager, execute the following command:
# mxmib l
The output is a list of all the .mib files registered in Systems Insight Manager. To see a list of the
traps associated with a MIB, use the t option:
# mxmib t mibfile.mib
Managing Systems Insight Manager tasks
A feature of Systems Insight Manager is the ability to create, manage, and schedule tasks. Within
Systems Insight Manager, you can execute all tools immediately, or scheduled the tools to run at
a later date. This section describes how you can manage tasks within Systems Insight Manager.
The mxtool command adds tools to Systems Insight Manager. For information on how to create
tool definition files, see HP Systems Insight Manager 6.3 user guide on the www.hp.com.
142 Infrastructure management using CLI