set_agent_property
特定の管理エージェント・プロパティを変更します。このコマンドは、管理エージェントのオペレータ権限を持っている場合に使用できます。
書式
emcli set_agent_property -agent_name="<agent_target_name>" -name="<agent_property_name>" -value="<agent_property_value>" [-new] [ ] indicates that the parameter is optional
オプション
-
agent_name
管理エージェント・ターゲットの名前。
-
name
変更する管理エージェント・プロパティの名前。
-
value
管理エージェント・プロパティの新しい値。
-
new
これが新規に追加されるエージェント・プロパティであるかどうかを示します。
例
例1
この例では、emd.propertiesのUploadIntervalプロパティの値を15に設定します。
emcli set_agent_property -agent_name="agent.example.com:1234" -name=UploadInterval -value=15
例2
この例では、emd.propertiesの新しいプロパティnewpropの値に15を設定します。
emcli set_agent_property -agent_name="agent.example.com:1234" -name=newprop -value=15 -new