HP Systems Insight Manager 6.3 Command Line Interface Guide

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
Description
The mxquery command enables you to add, list, modify or remove queries in Systems Insight
Manager.
IMPORTANT: Using mxcollection is preferred over using category with mxquery. Using
cat will still work for mxquery, but you should switch to mxcollection for creating and
manipulating collections (previously known as categories).
mxquery -a -f filename [-x force]
This command enables you to add queries. Query information is provided in a query definition
file (see mxquery(4)) and enables you to add one or more queries.
During an add operation, Systems Insight Manager adds only the queries whose names do
not reference existing queries in the database. If a duplicate query is detected, it is skipped,
and all non-duplicate queries are added. Skipping duplicate queries does not affect the return
value.
mxquery 83