EMCTL Commands for Management Agent
Table 7-3 lists the EMCTL commands for Management Agents.
Table 7-3 EMCTL Commands for Management Agent
EMCTL Command | Description |
---|---|
|
Starts the Management Agent. On IBM AIX environment with a large memory configuration where the Management Agent is monitoring a large number of targets, the Agent may not start. To prevent this issue, prior to starting the Management Agent, add the following parameters to the common environment file: LDR_CNTRL="MAXDATA=0x80000000"@NOKRTL AIXTHREAD_SCOPE=S The |
|
Stops the Management Agent. |
|
Lists the status of Management Agent. If the Management Agent is running, this command displays status information about the Management Agent, including the Agent Home, the process ID, and the time and date of the last successful upload to the Management Repository (). Note: On a Windows system change the directory to the |
|
Lists the secure status of the Management Agent and the secure mode port on which the Management Agent is running. It also lists the OMS security status and the port. |
|
Lists all the running, ready, and scheduled collection threads. |
|
Lists the status of the jobs that are running at present on the Management Agent. |
|
Lists the detailed status of the specified targets such as target name, target type, and so on. You can also provide a particular metric name in the |
|
Lists the names of the metrics whose values are present in the metric cache. |
|
Uploads the |
Use this command to force an immediate upload of the current management data from the managed host to the Management Service. Use this command instead of waiting until the next scheduled upload of the data. |
|
This command can be used to apply the changes after you have manually modified the Note: Oracle does not support manual editing of the |
|
|
Recomputes the dynamic properties of a target and displays them. |
|
Pings the OMS to check if the Management Agent is able to connect to the OMS. Management Agent will wait for the reverse ping from the OMS so that Management Agent can confirm that the |
|
Configures the current time zone as set in the environment. |
|
Displays the supported time zone based on the setting in the environment. |
|
Configures the console based on the configuration entries mentioned in the file The |
|
Lists all the target names and types monitored by the Management Agent, that are present in The |
|
Allows you to manually run the collections for a particular metric of a target. For example, |
|
Performs an immediate reevaluation of a metric collection Executing this command causes the reevaluated value of the metric to be uploaded into the Management Repository, and possibly trigger alerts if the metric crosses its threshold. To identify the metric name and the collection item name associated with the metric, see Reevaluating Metric Collections Using EMCTL Commands. |
|
Resets the time zone of the Management Agent. To change the current time zone to a different time zone, stop the Management Agent and then run this command. You can then start the Management Agent. Important: Before you change the Management Agent time zone, first check to see if there are any blackouts that are currently running or scheduled to run on any targets managed by that Management Agent. Refer to Viewing Blackouts/Notification Blackouts to know how to check for blackouts. If any blackouts exist, then from the Enterprise Manager console, stop all the scheduled and all the currently running blackouts on all targets monitored by that Management Agent. You can then change the Management Agent's time zone and later create new blackouts on the targets as needed. |
|
Prints the version of the Management Agent. |
|
Generates the dumps for the Management Agent. This command allows you to analyze the memory/CPU issues of the Management Agent. |
|
Generates the sudo properties of the Management Agent. |
|
Clears the sudo properties. |
|
Clears the state directory contents. The files that are located in the |
|
Prints the Management Agent home directory. |
|
Starts blackout on a target. If the parameter |
|
Stops the blackout that was started on a particular target. Only those blackouts that are started by the emctl tool can be stopped using emctl. This command cannot stop the blackouts that are started using the console or em cli utility. |
|
Provides the status of the target blackout. The status includes the type of blackout and whether it is a one-time action, or repeating, or a scheduled blackout. This command also specifies whether the blackout has started or stopped. |
|
Secures the Management Agent with an OMS. The registration password is essential, as you will be prompted for it if you do not provide it along with the command. The The |
|
Un-secures the Management Agent. This command changes the Management Agent's port to a HTTP port. After executing this command the Management Agent will be able to upload to the OMS on HTTP by connecting to OMS's HTTP upload port instead of the HTTPS upload port. |
|
Verifies the communication between the OMS and Management Agent by sending |
|
Creates and deploys only the Management Agent. The parameters are explained below:
|
|
Configures the specified property name and value in the Management Agent configuration file. The flag, Pattern Matching Behavior When key column conditions are created, the agent evaluates these conditions against rows even when the expression only matches a portion of the value. For example, a condition defined against
/u1% may be applied against /prod/u1z Note: Customers who prefer the previous behavior have the option of setting the property "_KeyColumnLikeMatchesSubstring " to TRUE |
|
Gets the specified properties or a category of properties from the Management Agent configuration files. Currently, this command does not support spaces in the name. The flag, |
|
Clears the value of the specified property in the Management Agent configuration file. |
|
Verifies that the Management Agent is live. |