Use EMCLI to delete obsolete agent targets in Oracle EM Cloud Control 12c

Source: Internet
Author: User

[Email protected] ~]$ Cd/oem/oms/oms/bin

Log in to OMS
[Email protected] bin]$/EMCLI Login-username=sysman
Enter Password:

Login Successful Synchronizing information
[[email protected] bin]$./EMCLI Sync
Synchronized successfully gets the targets associated with the agent currently mwtest02 the host
[Email protected] bin]$/EMCLI get_targets | grep mwtest02
5 under Blackout host mwtest02
5 under Blackout oracle_emd mwtest02:3872 perform the delete operation and associate all related targets
[Email protected] bin]$/emcli delete_target-name= ' mwtest02:3872 '-type= ' oracle_emd '-delete_monitored_targets
Target "MWTEST02:3872:ORACLE_EMD" deleted successfully confirmation
[Email protected] bin]$/EMCLI get_targets | grep mwtest02 Logout
[Email protected] bin]$/EMCLI Logout
Logout Successful
[Email protected] bin]$

Use EMCLI to delete obsolete agent targets in Oracle EM Cloud Control 12c

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.