enable_mda_finding_types_for_targets

Enables the specified MDA finding types for the specified targets. The finding types are enabled for a target only if the finding is applicable for the specified target type, and the EM CLI user has permissions on the target.

Format

emcli enable_mda_finding_types_for_targets
      [-targets="<list of targets and their target types >"]
      [-finding_types="<list of finding types>"]

[ ]  indicates that the parameter is optional.

Options

  • targets

    List of targets and their target types.

  • finding_types

    List of finding types.

Examples

Example 1

The following example enables a single finding type on a single target:

emcli enable_mda_finding_types_for_targets
      -finding_types="oracle.sysman.emas.wls_gc_overhead"
      -targets="/EMGC_EMGC_DOMAIN/EMGC_DOMAIN/EMGC_OMS1:weblogic_j2eeserver" 

Example 2

The following command enables multiple finding types on multiple targets:

emcli enable_mda_finding_types_for_targets
      -finding_types="oracle.sysman.emas.wls_gc_overhead;oracle.sysman.emas.wls_heap_config"
     -targets="/EMGC_EMGC_DOMAIN/EMGC_DOMAIN/EMGC_OMS1:weblogic_j2eeserver;/test_base_domain/base_domain/MS1:weblogic_j2eeserver"