Automic Workload Automation

Expand all | Collapse all

API Auto-restart Agent v9

Jump to Best Answer
  • 1.  API Auto-restart Agent v9

    Posted 11-22-2013 01:48 PM

    Hello,

    I'm trying to write an API to restart an agent automatically. I was able to find commands to check the status of an agent, but not sure where to look for a quit, start, or restart.

    AgentListItem gives me the check.

    Thanks

    Samah



  • 2.  API Auto-restart Agent v9
    Best Answer

    Posted 11-23-2013 04:29 PM

    I think this is what you're looking for.

    Under the Package com.uc4.communication.requests. There's a class called 'StartHost'. 

    Make sure the Host/Agent is linked to ServiceManager in the Host object in Client 0.

    5e95ed0ba8c4d0841f5196c4069e7d.pnghttps://us.v-cdn.net/5019921/uploads/FileUpload/c7/5e95ed0ba8c4d0841f5196c4069e7d.png" width="576">