HP Systems Insight Manager 7.0 Command Line Interface Guide

Examples
Example 1
To list all the passwords stored by Systems Insight Manager, enter mxpassword -l.
Example 2
To change the current SSH password to scoobydoo2, enter mxpassword -m -x
MxSshKeyPassword=scoobydoo2.
Example 3
To change the current database password to rocketboy2, enter mxpassword -m -x
MxDBUserPassword=rocketboy2.
Example 4
To remove the current SSH password, enter mxpassword -r -x MxSshKeyPassword.
Example 5
To remove the current database password, enter mxpassword -r -x MxDBUserPassword.
Example 6
To add, modify or remove passwords using a graphical user interface, enter mxpassword -g.
Example 7
To add the passwords myPw1 and myPw2 with the values myPw1Value and myPw2Value, enter
mxpassword -a -x myPw1=myPw1Value -x myPw2=myPw2Value.
Example 8
To check if the Systems Insight Manager keystore exists, enter mxpassword -c. A typical result
is Keystore exists.
mxquery
Adds, lists, modifies, execute, or removes queries in Systems Insight Manager.
Synopsis
mxquery -a -f filename [–x force]
mxquery -m -f filename [–x force]
mxquery -r queryname...
mxquery -r -f filename
mxquery -e queryname [-x xml]
mxquery [-l n|t] [ queryname... ]
mxquery -lf [-b encoding ] [-x query ] [ queryname... ] [-x cat ]
mxquery -l cat
mxquery -l crit
mxquery -l mode criterianame
mxquery -l val criterianame
mxquery 89