set_agent_property
Modifies a specific Management Agent property. You can use this command if you have operator privilege for the Management Agent.
Format
emcli set_agent_property -agent_name="<agent_target_name>" -name="<agent_property_name>" -value="<agent_property_value>" [-new] [ ] indicates that the parameter is optional
Options
-
agent_name
Name of the Management Agent target.
-
name
Name of the Management Agent property you want to modify.
-
value
New value for the Management Agent property.
-
new
Denotes whether this is a new Agent property being added.
Examples
Example 1
This example sets the value of the UploadInterval property in emd.properties to 15.
emcli set_agent_property -agent_name="agent.example.com:1234" -name=UploadInterval -value=15
Example 2
This example sets the value of new property 'newprop' in emd.properties to 15.
emcli set_agent_property -agent_name="agent.example.com:1234" -name=newprop -value=15 -new