AgentCommandState

AgentCommandState
AgentCommandState

Latest state of a command for one agent.

  • PENDING: Recorded by the Console and not yet delivered; becomes SENT or DISPATCH_FAILED, and a command still PENDING after the result timeout (default 300 seconds) becomes DISPATCH_FAILED; a new command of the same type is refused while it is PENDING or SENT
  • SENT: The agent acknowledged the command; the result is awaited and becomes SUCCEEDED or FAILED, or TIMED_OUT after the result timeout
  • SUCCEEDED: The agent reported result status code 0
  • FAILED: The agent reported a result status code other than 0
  • DISPATCH_FAILED: The Console could not deliver the command, or the agent dispatched no command, or the command stayed PENDING past the result timeout; resultMessage holds the reason
  • TIMED_OUT: No result arrived from the agent within the result timeout after the command was SENT
This data structure has no properties.
Enumeration: PENDING, SENT, SUCCEEDED, FAILED, DISPATCH_FAILED, TIMED_OUT