Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OEM12C: using emcli to set property on an agent

Daryl E.Jan 18 2013 — edited Jan 18 2013
Probably an easy question .. cant get the syntax right..

Trying to set the Contact info for all targets, agents/hosts/etc

Show me all the agents:
emcli get_targets -targets=oracle_emd

Use some scripting magic but showing just one...

emcli set_target_property_value -property_records="myhost:3872:oracle_emd:Contact:johndoe@hotmail.com" -propogate_to_members

I figure the :3872 is throwing it off.

Syntax Error: Invalid value for parameter "INVALID_RECORD_ERR": "myhost:3872:oracle_emd:Contact:johndoe@hotmail.com"

Works fine at the host level .. but then it misses the agent with the propogate statement.

thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2013
Added on Jan 18 2013
2 comments
1,724 views