Purpose
List agents using the following URL and method:
Item | Description |
---|---|
URL | /datamover/agents |
Method | GET |
Request Parameters
No request parameters required.
Response Parameters
- agentName
- Description: Name that identifies the agent.
- agentHostName
- Description: Name of the host running the agent.
- agentVersion
- Description: Data Mover version for the agent.
- maxConcurrentTasks
- Description: Maximum number of concurrent tasks the agent can run.
- currentTaskCount
- Descriptions: Number of tasks the agent is currently running.
- major
- Description: Number corresponding to the major version.
- minor
- Description: Number corresponding to the minor version.
- maintenance
- Description: Maintenance release number.
- efix
- Description: efix release number.
Response Examples
[ { "agentName" : "AgentBond", "agentHostName" : "dm-agent7", "agentVersion" : { "major" : "16", "minor" : "00", "maintenance" : "00", "efix" : "00" }, "maxConcurrentTasks" : 5, "currentTaskCount" : 0 }, { "agentName" : "AgentKay", "agentHostName" : "dm-agent4", "agentVersion" : { "major" : "16", "minor" : "00", "maintenance" : "00", "efix" : "00" }, "maxConcurrentTasks" : 5, "currentTaskCount" : 0 } ]
This example shows an error message.
{ "message": "Unable to communicate with DM Daemon. Make sure the broker url and port are correct." }