HP Systems Insight Manager 5.3 Command Line Interface reference guide

Example 2
To preview a default entry with a simple message, enter: mxlog -p -m "This is a test".
The output will be:
2005-08-08 13:13:07 MDT APP root START <> NONE START SUCCESS
SUMMARY
This is a test.
mxmib
Adds, deletes, processes a list of mibs, list registered mibs, and lists traps for a specific registered mib.
Synopsis
mxmib
mxmib a CFG filename
mxmib -d mib filename
mxmib -l
mxmib -f filespec
mxmib -t mib
Description
mxmib allows you to register and unregister a mib, register a list of mibs from a file, list mibs registered in
HP SIM, and list a registered mib's traps.
Options
-a CFG filename
Register a new CFG, file ( filename.cfg ), or replace the data of a registered mib.
-d mib filename
Unregister a mib, ( filename.mib ).
-f filespec
Read and process a list of CFGs (mibs) from the file, ( myfile.list ), to be registered to
HP SIM. Each line in the file is a CFG (mib) to be registered. Use the -a option to register
a single mib.
-l
List the registered mibs.
-t mib
List the traps in filename.mib . The filename is the name listed in HP SIM and can be
viewed by entering mxmib -l.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
An error occurred during operation.>0
44 Command descriptions