The dpmhyperv AgentSet command sets an agent value.
This command has the following format:
dpmhyperv AgentSet [-ws_user username] [-ws_password password] [-ws_encrypted_password] -hypervHost hostname -modelPath model_path attributeName attribute_name -snmpValue snmp_value [-pre] [-post] [-locale iso639value]
(Optional) Specifies the CA Server Automation user name.
(Optional) Specifies the CA Server Automation user password.
(Optional) Indicates whether the CA Server Automation password is encrypted.
Specifies the host name of the Hyper-V server.
Specifies the reference identifier of the asynchronous job.
Specifies the model path of the object to get value from.
Specifies the name of the attribute that you want to get.
(Optional) Generates an event before the operation is complete.
(Optional) Generates an event after the operation is complete.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Set an Agent Value
This example sets the agent value.
dpmhyperv AgentSet -ws_user admin -ws_password #test# -hypervHost hserver -modelPath "https://localhost/aip/AOM/root/cimv2:CA_ComputerSystem.CreationClassName=\"CA_ComputerSystem\",Name=\"8a2a30a0-a184-11df-84a8-00155d7c7405\"" -attributeName DPM.HYPERV.SERVER.CRITICALVMS.MONITOR -snmpValue 1
Copyright © 2013 CA. All rights reserved. |
|