Infrastructure management using the HP SIM command line interface (436331-002, January 2009)

The -o object option is the type of object or application that is making the log entry. If this
option is not used, the default value of TYPE_NONE will be used. Valid values include
APPLICATION, GUI, and TYPE_NONE.
The -r result option is the result of the event that occurred. If this option is not used, the default
value of SUCCESS will be used. Value values include IN_PROGRESS, SUCCESS, FAILURE,
SOME_FALURES, CANCELED, KILLED, and RESULT_NONE.
The -s sessionID option is the session ID in string form.
The -t transactionID option is the transaction ID in string form.
The -u user option is the user that submitted this log entry. If this option is not used, the default
value is the user name of the user running the command. This is typically used to specify the name
of the application logging the message rather than the run-as user of the application.
The -v verbosity is the level of verbosity of this log entry. If this option is not used, the default
value of SUMMARY is used. Valid values include SUMMARY, DETAIL, VERBOSE, ERROR,
WARNING, and NOTE.
In addition to the above options, certain columns in the log entry are filled with default or system
information. This includes a timestamp of when the entry was created, and the Category column,
which is set to APPLICATION.
HP SIM information
The mxgethostname command displays the host name and DNS name of the local server.
The –i option adds the IP address of the local server to the display.
The –n host option displays the host name and DNS name of system host.
The –k option prints the resolved local host.
The mxversion command displays the full version string for HP SIM. The full version string includes
version name, version number, and the date and time the version was built. For example:
Systems Insight Manager 5.0 with Update 1 – HP-UX C.05.00.01.00.06
( 2006-01-05 17:13 )
The mxgetdbinfo command displays information about the HP SIM database. Without any
parameters, the database port, database name, user ID, database type, path to executables, and
path to data appear. The following options are supported:
The -a option displays the same output as if you did not provide an option.
The -h option returns the host name of the server where the database is installed.
The -p option returns the TCP/IP port number used to connect to the database.
The -d option returns the name of the database used by HP SIM.
The -u option returns the username or userID used by HP SIM to log into the database.
The -t option returns the database type—SQLServer, PostgreSQL, or Oracle.
The -r option (HP-UX only) returns the path to the postgreSQL data directory.
The -b option (HP-UX only) returns the path to the postgreSQL program directory.
HP SIM settings
The mxglobalsettings command sets and displays global settings stored in the file
/etc/opt/mx/config/globalsettings.props on HP-UX and Linux, or in the HP SIM
installation directory under config\globalsettings.props on Windows. This file is a text file
that contains configuration data and their default values. To set or display global settings, enter:
# mxglobalsettings –s [–f] setting=value … ; set value(s)
# mxglobalsettings –ld [setting …] ; display value(s)
26