remove_target_from_rule_set
Removes a target from an enterprise rule set.
Privilege Requirements: Super Administrators can add a target to any enterprise rule set except for predefined (out-of-box) rule sets supplied by Oracle.
Only the owner or co-author of a rule set can add a target to it.
Format
emcli remove_target_from_rule_set -rule_set_name="rule set name" -target_name="target name" -target_type="internal name for target type" [-rule_set_owner=<ruleset owner>] [ ] indicates that the parameter is optional
Options
-
rule_set_name
Name of an enterprise rule set. This option only applies to rule sets associated with a list of targets.
-
target_name
Name of the target to be removed.
-
target_type
Type of the target to be removed. For example, host.
-
rule_set_owner
Optionally, you can specify the owner of the rule set.
Examples
The following example removes the host target myhost.com from a rule set named rules. This rule set is owned by the administrator sysman.
emcli remove_target_from_rule_set -rule_set_name='rules' -target_name='myhost.com' -target_type='host' -rule_set_owner='sysman'