The OPS-CLI tool is a Java application that you can use to manipulate the vRealize Operations Manager database. It replaces the VCOPS-CLI andDBCLI tools.

The product includes the executable file in the tools directory or in <VCOPS_BASE>/tools/opscli/.

Operating System

File Name

Linux

ops-cli.sh

Windows

ops-cli.bat

Python

ops-cli.py

All OPS-CLI commands use the -h parameter for interactive and localized help.

When you add the control command to the post_install.sh script, it triggers the redescribe process after an adapter is installed or upgraded.

control -h | redescribe --force

The OPS-CLI tool supports the following database operations.

You use the dashboard command to import, export, share, unshare, delete, reorder, show, hide, and set the default summary for dashboards.

You use the template command to import, export, share, unshare, delete, and reorder templates.

You use the supermetric command to import, export, configure, and delete super metrics.

You use the attribute command to configure properties of a specific metric in one or more packages. The metric is the object attribute.

You use the reskind command to configure the default settings in your object type as defined by the ResourceKind model element. The command sets the default attribute or supermetric package, enables or disables dynamic thresholds, and enables or disables early warning smart alerts.

You use the report command to import, export, configure, and delete super metrics.

You use the view command to import, export, or delete view definitions.

You use the file command to import, export, list or delete database files. The command operates on metric, text widget, and topology widget files.