A omcli Command Options
omcli
commands let you work with Oracle Management Cloud agents and entities.
Accessing omcli
omcli
comes bundled with a deployment of Oracle Management Cloud. You can access omcli
from the <AGENT_BASE_DIR>/agent_inst/bin
folder.
omcli Commands
Command | Usage |
---|---|
|
Starts the Oracle Management Cloud agents on the host. |
|
Stops the Oracle Management Cloud agents running on the host. |
|
Retrieves the status of the Oracle Management Cloud agents running on the host. |
|
Sets the specified property name and value in the agent configuration file.
|
|
Gets the specified properties or a category of properties from the agent configuration files.
|
|
Dumps the internal state of the specified list of components. |
|
Clears the value for the specified property in the agent configuration file. |
|
Returns the status of the agent.
|
|
Reloads the configuration properties of the agent. |
|
Requests an upgrade of the agent to the latest available version. The request will be accepted only if the agent is eligible for an upgrade. Once the request is accepted, the agent will be upgraded as soon as possible. |
|
Prints the version of the agent. |
|
Displays the status of the agent scheduler. The |
|
Displays current connectivity issues the agent is suffering. Also, it indicates whether the agent is running or not. If the agent is not running, it displays connectivity issues experienced at the time of the shutdown. |
|
Gets the system time zone from the environment. |
|
Lists the entities that were registered with the agent. |
|
Adds the defined entity to Oracle Management Cloud.
|
|
Updates an existing entity.
|
|
Deletes an existing entity.
|
|
Refreshes an existing entity, such as a WebLogic Domain, to ensure that Oracle Management Cloud is synchronized with the changes made to the entity. For example, if WebLogic Servers are added to or removed from the WebLogic Domain, then this command ensures that the changes reflect in Oracle Management Cloud as well.
|
|
Verifies and displays the status of the entity.
|
|
Configures the agent to use a wallet-based credential store. The wallet can be pre-existing. The wallet can be found in the location identified by Note: To add a credential store to an agent, stop the agent, add the credential store, then restart the agent. |
|
Adds a file full of credentials to the agent. Credentials listed in
If |
|
Lists the non-sensitive credential attributes for specified credentials. If an entity is specified, then only the credential definitions relative to the entity are listed. If
-global is specified, then only the credential definitions with global names are listed. If neither is specified, then all credentials are listed. If -usage is specified, then only the credentials that may be used for that usage are listed. When supplied, USAGE can have one of the following values:
|
|
Disables the specified credential. If |
|
Enables the specified credential. If |
|
Removes the specified credential. If If |
|
Sets the credential alias If |
|
Removes the specified credential alias within the scope of the entity. |
|
Generates a specific set of logs and configuration information that can be used to diagnose problems with the agent.
|
|
Secures communication for the agent. |
|
Allows to add/import additional certificates to the agent's monitoring truststore for secure communication between the agent and its monitored entities. The location of the agent's monitoring truststore is:
|