Agent Cluster Web Services
Universal Controller supports the following RESTful-based web services for Agent Cluster operations, which are listed alphabetically on this page.
- Create an Agent Cluster
- Delete an Agent Cluster
- List Agent Clusters
- Modify an Agent Cluster
- Read an Agent Cluster
- Resolve an Agent Cluster
- Resume an Agent Cluster
- Resume an Agent Cluster Membership
- Return an Agent from an Agent Cluster
- Set an Agent Cluster Task Execution Limit
- Suspend an Agent Cluster
- Suspend an Agent Cluster Membership
Formatting specifications for each web service, including details about property requirements, are provided.
Create an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster |
HTTP Method | POST |
Description | Creates a new Agent Cluster. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | |
Agent Cluster Properties | |
Agent Properties | See Agent Properties. |
Agent Cluster: Email Notification Properties | |
Agent Cluster: SNMP Notification Properties | |
Example Response |
|
Agent Cluster Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Agent Limit Amount | If | Default is 10. | N |
| Agent Limit | Specification for whether the agent cluster has a Limited or Unlimited number of agents. | Valid Values:
Default is Unlimited (1). | N |
| Created By | Name of the user that created this record. | Read only | N |
| Created | Date and time that this record was created. | Read only | N |
| Current Task Count | If | Integer; Read only. | N |
| Description | User-defined; description of this record. | N | |
| Distribution | Method used to select an Agent in the Agent Cluster. | Valid Values:
Default is Any (1). | N |
| n/a | For the Modify an Agent Cluster web service; specification for whether or not to exclude related records from the update, even if they are provided in the request. info In XML, | Valid values: true/false (default is false). | N |
| n/a | Universal Controller release that the record was exported from. | read only | N |
| n/a | Record table information. | read only | N |
| Ignore Inactive Agents | Specification for whether or not inactive (offline) Agents should be ignored when the agent cluster is used for broadcasting. | Optional; Valid values: true/false (default is false). | N |
| Ignore Suspended Agents | Specification for whether or not suspended Agents should be ignored when the agent cluster is used for broadcasting. | Optional; Valid values: true/false (default is false). | N |
| Last Agent Used | Agent that was selected the last time a task was sent to this Agent Cluster. | Read only. | N |
| Last Resolution | If | Read only. | N |
| Limit Amount | If | N | |
| Task Execution Limit | Specification for whether a Limited or Unlimited number of task instances can be run concurrently by the Agents in this Agent Cluster. | Valid Values:
Default is Unlimited (1). | N |
| Cluster Name | Name of this Agent Cluster. | Y | |
| Network Alias | If | N | |
| Agent Port | If | N | |
| Member of Business Services | List of Business Services that this Agent Cluster belongs to. Format: XML JSON | N | |
| Resolution Description | If | Read only. | N |
| Resolution Status | If | Read only. | N |
| Resumed On | Date and time when a suspended Agent Cluster was resumed. | Read only. | N |
| n/a | Specification for whether or not the Create an Agent Cluster web service will persist the sysId - CAC property.
info In XML web services, | Optional; Valid values: true/false (default is true). | N |
| Strict Business Services Membership | Specifies whether to only allow Agent to Cluster Associations where the Business Service matches. If true, only agents with matched Member of Business Services can be added to the cluster. | Boolean; Valid values: true/false. Default is false. | N |
| Suspended | Indication of whether or not the ability for this cluster of Agents to run tasks has been suspended. | Read only; Boolean; Valid Values: true/false. | N |
| Suspended On | Date and time when the Agent Cluster was suspended. | Read only. | N |
| n/a | sys_id used within the Controller to identify this Agent Cluster. | N | |
| n/a | Type of Agent Cluster. | For List Agent Clusters: Read only; Valid values:
For Create/Modify/Read Agent Clusters: Applicable to JSON only; Specifies agent cluster type to create/modify. Valid values:
| N |
| Updated By | Name of the user that last updated this record. | Read only | N |
| Updated | Date and time that this record was last updated. | Read only | N |
Agent Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Agent | Name of an Agent in the Agent Cluster. | Y | |
| Membership Decommissioned | Indication of whether or not the Agent has been temporarily decommissioned from the Agent Cluster; the Agent will not be available as a selection from the Agent Cluster while it is decommissioned. | N | |
| Membership Resumed On | Date and time that an Agent temporarily suspended from the Agent Cluster has been resumed. | Read only; Boolean; Valid Values: true/false. | N |
| Membership Suspended | Indication of whether or not the Agent has been temporarily suspended from the Agent Cluster; the Agent will not be available as a selection from the Agent Cluster while it is suspended. | Read only; Boolean; Valid Values: true/false. | N |
| Membership Suspended On | Date and time that the Agent has been temporarily suspended from the Agent Cluster. | Read only; Boolean; Valid Values: true/false. | N |
| n/a | Type of Agent | Read only; Valid values:
| N |
| n/a | sys_id used within the Controller to identify the Agent Cluster membership of this Agent. | N |
Agent Cluster: Email Notification Properties
Property | UI Field Name | Description | Specifications |
|---|---|---|---|
| Bcc | Email address of the party being sent a blind (hidden) copy of the email, if any. | Use commas to separate multiple recipients. Variables and Functions are supported. |
| Body | Text of the email message. | Variables and Functions are supported. If the |
| Cc | Email address of the party being sent a copy of the email, if any. | Use commas to separate multiple recipients. Variables and Functions are supported. |
| Email Connection | Name of an Email Connection. | If you specify both an |
| Email Template | Name of an Email Template. | If you specify both an |
| Reply-To | Email address of the sender of the email. | Use commas to separate multiple recipients. Variables and Functions are supported. |
| Notification State | Comma-separated list of Notification states | Valid values:
|
| Subject | Subject line of the email. | Variables and Functions are supported. |
| n/a | sys_id used within the Controller to identify this Email Notification. | |
| To | Email address of the recipient. | Use commas to separate multiple recipients Variables and Functions are supported. |
Agent Cluster: SNMP Notification Properties
Property | UI Field Name | Description | Specifications |
|---|---|---|---|
| Notification Severity | Severity level of this notification. | Valid values:
Default is Normal (1). |
| SNMP Manager | SNMP Manager that will receive this notification. | |
| Notification State | Comma-separated list of Notification states | Valid values:
|
| n/a | sys_id used within the Controller to identify this SNMP Notification. |
Delete an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster |
HTTP Method | DELETE |
Description | Deletes a specific Agent Cluster. |
URI Parameters | |
Example URI | http://localhost:8080/uc/resources/agentcluster?agentclusterid=35dc94a7a8834d28b51e03b5780cd90c |
Authentication | HTTP Basic |
Example Response |
|
Delete an Agent Cluster: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this Agent Cluster. | Y |
| |
| Name used within the Controller to identify this Agent Cluster. | Y |
|
List Agent Clusters
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster/list |
HTTP Method | GET |
Description | Retrieves information on all Agent Clusters. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Response Examples | |
Agent Cluster Properties | |
Agent Properties | See Agent Properties. |
Agent Cluster: Email Notification Properties | |
Agent Cluster: SNMP Notification Properties |
List Agent Clusters: XML and JSON Examples
- JSON
- XML
JSON
[
{
"agents": [ {
"agentName": "Mark-4 - AGNT001",
"membershipDecommissioned": true,
"membershipResumedOn": null,
"membershipSuspended": true,
"membershipSuspendedOn": "2021-06-29 19:18:30 -400",
"sysId": "941e558d6f2b4656bdb870e2551fa85e",
"type": "Linux/Unix"
} ],
"currentCount": 0,
"description": "Cluster of Linux Agents",
"distribution": "Network Alias",
"ignoreInactiveAgents": true,
"ignoreSuspendedAgents": true,
"lastAgentUsed": "sb-qa-123",
"lastResolution": "2018-09-12 09:52:03.410 -0500",
"limitAmount": 5,
"limitType": "Unlimited",
"name": "Cluster 1",
"networkAlias": "qa-123",
"networkAliasPort": null,
"notifications": {
"emailNotifications": [ {
"bcc": null,
"body": "${ops_system_identifier}",
"cc": null,
"emailConnection": "ecu-office-365",
"emailTemplate": "agent-built-variables",
"replyTo": null,
"state": "Agents Unavailable",
"subject": null,
"sysId": "e120f05abd104e2e952c6b9e693891ab",
"to": "support@stonebranch.com"
} ],
"snmpNotifications": [ {
"severity": "Minor",
"snmpManager": "test_manager",
"state": "Agents Unavailable",
"sysId": "fc4f4e8b0dea4b51a77a3c20f7e62b2a"
} ]
},
"opswiseGroups": [],
"resolutionDescription": "Agent in Use:'sb-qa-123'",
"resolutionStatus": "Success",
"resumedOn": "2021-06-29 19:18:30 -400",
"strictBsrvcMembership":false,
"suspended": false,
"suspendedOn": null,
"sysId": "35dc94a7a8834d28b51e03b5780cd90c",
"type": "Windows"
"version": 1
},
{
"agents": [ {
"Agent Cluster Web Services#agentName": "Mark-4 - AGNT002",
"membershipDecommissioned": false,
"membershipResumedOn": null,
"membershipSuspended": true,
"membershipSuspendedOn": "2021-06-29 19:18:30 -400",
"sysId": "941e558d6f2b4656bdb870e2551fa85f",
"type": "Windows"
} ],
"currentCount": 0,
"description": "Cluster of Windows Agents",
"distribution": "Network Alias",
"ignoreInactiveAgents": true,
"ignoreSuspendedAgents": true,
"lastAgentUsed": "sb-qa-123",
"lastResolution": "2018-09-13 10:52:03.410 -0500",
"limitAmount": 5,
"limitType": "Unlimited",
"name": "Cluster 2",
"networkAlias": "qa-123",
"networkAliasPort": null,
"notifications": {
"emailNotifications": [ {
"bcc": null,
"body": "${ops_system_identifier}",
"cc": null,
"emailConnection": "ecu-office-365",
"emailTemplate": "agent-built-variables",
"replyTo": null,
"state": "Agents Unavailable",
"subject": null,
"sysId": "e120f05abd104e2e952c6b9e693891ab",
"to": "support@stonebranch.com"
} ],
"snmpNotifications": [ {
"severity": "Minor",
"snmpManager": "test_manager",
"state": "Agents Unavailable",
"sysId": "fc4f4e8b0dea4b51a77a3c20f7e62b2a"
} ]
},
"opswiseGroups": [],
"resolutionDescription": "Agent in Use:'sb-qa-123'",
"resolutionStatus": "Success",
"resumedOn": null,
"strictBsrvcMembership":false,
"suspended": true,
"suspendedOn": 2021-06-29 19:18:30 -400,
"sysId": "35dc94a7a8834d28b51e03b5780cd90d",
"type": "Windows"
"version": 1
}
]
XML
<agentClusters>
<agentCluster version="1">
<agents>
<agent>
<Agent Cluster Web Services#agentName>pc - SS0001</agentName>
<membershipDecommissioned>true</membershipDecommissioned>
<membershipResumedOn />
<membershipSuspended>true</membershipSuspended>
<membershipSuspendedOn>2021-06-29 19:18:30 -400</membershipSuspendedOn>
<sysId>af1984d3481b4bccb9bea0e4e1d6fbf2</sysId>
<type>Linux/Unix</type>
</agent>
</agents>
<currentCount>0</currentCount>
<description>Cluster of Linux Agents</description>
<distribution>Network Alias</distribution>
<ignoreInactiveAgents>true</ignoreInactiveAgents>
<ignoreSuspendedAgents>true0</ignoreSuspendedAgents>
<lastAgentUsed>sb-qa-123</lastAgentUsed>
<lastResolution>2018-09-12 09:52:03.410 -0500</lastResolution>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>Cluster 1</name>
<networkAlias>qa-123</networkAlias>
<networkAliasPort />
<notifications>
<emailNotification>
<sysId>2b7286b87a7048399fbd95c01a380002</sysId>
<bcc />
<body />
<cc />
<emailConnection>uc - Gmail Account</emailConnection>
<emailTemplate>uc - Template</emailTemplate>
<replyTo />
<state>Agents Unavailable<[/state]>
<subject />
<to />
</emailNotification>
<snmpNotification>
<state>Agents Unavailable</state>
<sysId>21d992c72be44b159aac91c4ee9f40c6</sysId>
<severity>Minor</severity>
<snmpManager>SNMP Manager</snmpManager>
</snmpNotification>
</notifications>
<opswiseGroups />
<resolutionDescription>Agent in Use:'sb-qa-123'</resolutionDescription>
<resolutionStatus>Success</resolutionStatus>
<resumedOn>2021-06-29 19:18:30 -400</resumedOn>
<strictBsrvcMembership>false</strictBsrvcMembership>
<suspended>false</suspended>
<suspendedOn />
<sysId>cb5b876aa9fec69f0032b55e0391d693</sysId>
<type>Windows</type>
</agentCluster>
<agentCluster version="1">
<agents>
<agent>
<Agent Cluster Web Services#agentName>pc - SS0002</Agent Cluster Web Services#agentName>
<membershipDecommissioned>false</membershipDecommissioned>
<membershipResumedOn />
<membershipSuspended>true</membershipSuspended>
<membershipSuspendedOn>2021-06-29 19:18:30 -400</membershipSuspendedOn>
<sysId>af1984d3481b4bccb9bea0e4e1d6fbf3</sysId>
<type>Windows</type>
</agent>
</agents>
<currentCount>0</currentCount>
<description>Cluster of Windows Agents</description>
<distribution>Network Alias</distribution>
<ignoreInactiveAgents>true</ignoreInactiveAgents>
<ignoreSuspendedAgents>true0</ignoreSuspendedAgents>
<lastAgentUsed>sb-qa-123</lastAgentUsed>
<lastResolution>2018-09-13 10:52:03.410 -0500</lastResolution>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>Cluster 2</name>
<networkAlias>qa-123</networkAlias>
<networkAliasPort />
<notifications>
<emailNotification>
<sysId>2b7286b87a7048399fbd95c01a380002</sysId>
<bcc />
<body />
<cc />
<emailConnection>uc - Gmail Account</emailConnection>
<emailTemplate>uc - Template</emailTemplate>
<replyTo />
<state>Agents Unavailable</state>
<subject />
<to />
</emailNotification>
<snmpNotification>
<state>Agents Unavailable</state>
<sysId>21d992c72be44b159aac91c4ee9f40c6</sysId>
<severity>Minor</severity>
<snmpManager>SNMP Manager</snmpManager>
</snmpNotification>
</notifications>
<opswiseGroups />
<resolutionDescription>Agent in Use:'sb-qa-123'</resolutionDescription>
<resolutionStatus>Success</resolutionStatus>
<resumedOn />
<strictBsrvcMembership>false</strictBsrvcMembership>
<suspended>true</suspended>
<suspendedOn>2021-06-29 19:18:30 -400</suspendedOn>
<sysId>cb5b876aa9fec69f0032b55e0391d694</sysId>
<type>Windows</type>
</agentCluster>
</agentClusters>
List Agent Cluster - Advanced
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster/listadv |
HTTP Method | GET |
Description | Retrieves Agent Clusters details using specific query parameters. |
Example URI |
|
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
Consumes Content-Type | n/a |
Example Responses | |
URI Properties |
List Agent Cluster - Advanced: URI Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
agentclustername | Name | Name or partial name of one or more agent clusters. | Wildcards are supported. | N |
businessServices | Member of Business Services | Business Services that one or more agent clusters belong to. | String value of comma-separated Business Services. | N |
type | n/a | Agent Cluster Type of agent clusters to list. | Valid values: One of the following (not case sensitive):
If type is not specified, defaults to all types. | N |
List Agent Cluster - Advanced: XML and JSON Examples
- JSON
- XML
JSON
[
{
"type": "unixAgentCluster",
"agents": [],
"currentCount": 0,
"description": null,
"distribution": "Any",
"exportReleaseLevel": "7.3.0.0",
"exportTable": "ops_unix_agent_cluster",
"ignoreInactiveAgents": false,
"ignoreSuspendedAgents": false,
"lastAgentUsed": null,
"lastResolution": null,
"limitAmount": 5,
"limitType": "Unlimited",
"name": "linux_cluster_1",
"networkAlias": null,
"networkAliasPort": null,
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"opswiseGroups": [],
"resolutionDescription": null,
"resolutionStatus": "None",
"resumedOn": null,
"retainSysIds": true,
"strictBsrvcMembership": false,
"suspended": false,
"suspendedOn": null,
"sysId": "89ef2f9a35684825849881978b827ee7",
"version": 2
},
{
"type": "unixAgentCluster",
"agents": [],
"currentCount": 0,
"description": null,
"distribution": "Any",
"exportReleaseLevel": "7.3.0.0",
"exportTable": "ops_unix_agent_cluster",
"ignoreInactiveAgents": false,
"ignoreSuspendedAgents": false,
"lastAgentUsed": null,
"lastResolution": null,
"limitAmount": 5,
"limitType": "Unlimited",
"name": "linux_cluster_2",
"networkAlias": null,
"networkAliasPort": null,
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"opswiseGroups": [],
"resolutionDescription": null,
"resolutionStatus": "None",
"resumedOn": null,
"retainSysIds": true,
"strictBsrvcMembership": false,
"suspended": false,
"suspendedOn": null,
"sysId": "a47c4a0e6c1d4da5896dd9c072bacb28",
"version": 2
},
{
"type": "windowsAgentCluster",
"agents": [],
"currentCount": 0,
"description": null,
"distribution": "Any",
"exportReleaseLevel": "7.3.0.0",
"exportTable": "ops_windows_agent_cluster",
"ignoreInactiveAgents": false,
"ignoreSuspendedAgents": false,
"lastAgentUsed": null,
"lastResolution": null,
"limitAmount": 5,
"limitType": "Unlimited",
"name": "wins_cluster_1",
"networkAlias": null,
"networkAliasPort": null,
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"opswiseGroups": [],
"resolutionDescription": null,
"resolutionStatus": "None",
"resumedOn": null,
"retainSysIds": true,
"strictBsrvcMembership": false,
"suspended": false,
"suspendedOn": null,
"sysId": "3f5c2bb17d2d43149eb70da856c51fe2",
"version": 1
},
{
"type": "windowsAgentCluster",
"agents": [],
"currentCount": 0,
"description": null,
"distribution": "Any",
"exportReleaseLevel": "7.3.0.0",
"exportTable": "ops_windows_agent_cluster",
"ignoreInactiveAgents": false,
"ignoreSuspendedAgents": false,
"lastAgentUsed": null,
"lastResolution": null,
"limitAmount": 5,
"limitType": "Unlimited",
"name": "wins_cluster_2",
"networkAlias": null,
"networkAliasPort": null,
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"opswiseGroups": [],
"resolutionDescription": null,
"resolutionStatus": "None",
"resumedOn": null,
"retainSysIds": true,
"strictBsrvcMembership": false,
"suspended": false,
"suspendedOn": null,
"sysId": "3dc7749381ab461883f6a1807c7c3c7d",
"version": 1
}
]
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<agentClusters>
<unixAgentCluster exportReleaseLevel="7.3.0.0" exportTable="ops_unix_agent_cluster" retainSysIds="true" version="2">
<agents/>
<currentCount>0</currentCount>
<description />
<distribution>Any</distribution>
<ignoreInactiveAgents>false</ignoreInactiveAgents>
<ignoreSuspendedAgents>false</ignoreSuspendedAgents>
<lastAgentUsed />
<lastResolution />
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>linux_cluster_1</name>
<networkAlias />
<networkAliasPort />
<notifications/>
<opswiseGroups/>
<resolutionDescription />
<resolutionStatus>None</resolutionStatus>
<resumedOn />
<strictBsrvcMembership>false</strictBsrvcMembership>
<suspended>false</suspended>
<suspendedOn />
<sysId>89ef2f9a35684825849881978b827ee7</sysId>
</unixAgentCluster>
<unixAgentCluster exportReleaseLevel="7.3.0.0" exportTable="ops_unix_agent_cluster" retainSysIds="true" version="2">
<agents/>
<currentCount>0</currentCount>
<description />
<distribution>Any</distribution>
<ignoreInactiveAgents>false</ignoreInactiveAgents>
<ignoreSuspendedAgents>false</ignoreSuspendedAgents>
<lastAgentUsed />
<lastResolution />
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>linux_cluster_2</name>
<networkAlias />
<networkAliasPort />
<notifications/>
<opswiseGroups/>
<resolutionDescription />
<resolutionStatus>None</resolutionStatus>
<resumedOn />
<suspended>false</suspended>
<suspendedOn />
<strictBsrvcMembership>false</strictBsrvcMembership>
<sysId>a47c4a0e6c1d4da5896dd9c072bacb28</sysId>
</unixAgentCluster>
<windowsAgentCluster exportReleaseLevel="7.3.0.0" exportTable="ops_windows_agent_cluster" retainSysIds="true" version="1">
<agents/>
<currentCount>0</currentCount>
<description />
<distribution>Any</distribution>
<ignoreInactiveAgents>false</ignoreInactiveAgents>
<ignoreSuspendedAgents>false</ignoreSuspendedAgents>
<lastAgentUsed />
<lastResolution />
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>wins_cluster_1</name>
<networkAlias />
<networkAliasPort />
<notifications/>
<opswiseGroups/>
<resolutionDescription />
<resolutionStatus>None</resolutionStatus>
<resumedOn />
<strictBsrvcMembership>false</strictBsrvcMembership>
<suspended>false</suspended>
<suspendedOn />
<sysId>3f5c2bb17d2d43149eb70da856c51fe2</sysId>
</windowsAgentCluster>
<windowsAgentCluster exportReleaseLevel="7.3.0.0" exportTable="ops_windows_agent_cluster" retainSysIds="true" version="1">
<agents/>
<currentCount>0</currentCount>
<description />
<distribution>Any</distribution>
<ignoreInactiveAgents>false</ignoreInactiveAgents>
<ignoreSuspendedAgents>false</ignoreSuspendedAgents>
<lastAgentUsed />
<lastResolution />
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>wins_cluster_2</name>
<networkAlias />
<networkAliasPort />
<notifications/>
<opswiseGroups/>
<resolutionDescription />
<resolutionStatus>None</resolutionStatus>
<resumedOn />
<strictBsrvcMembership>false</strictBsrvcMembership>
<suspended>false</suspended>
<suspendedOn />
<sysId>3dc7749381ab461883f6a1807c7c3c7d</sysId>
</windowsAgentCluster>
</agentClusters>
Modify an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster |
HTTP Method | PUT |
Description | Modifies the Agent Cluster specified by the |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | |
Agent Cluster Properties | |
Agent Properties | See Agent Properties. |
Agent Cluster: Email Notification Properties | |
Agent Cluster: SNMP Notification Properties | |
Example Response |
|
Modify an Agent Cluster: XML and JSON Examples
- JSON
- XML
JSON
{
"type": "windowsAgentCluster",
"description": "Cluster of Windows Agents",
"distribution": "Any",
"ignoreInactiveAgents": true,
"ignoreSuspendedAgents": true,
"limitAmount": 5,
"limitType": "Unlimited",
"name": "cluster1",
"networkAlias": null,
"networkAliasPort": null,
"notifications": {
"emailNotifications": [ {
"bcc": null,
"body": "${ops_system_identifier}",
"cc": null,
"emailConnection": "ecu-office-365",
"emailTemplate": "agent-built-variables",
"replyTo": null,
"state": "Agents Unavailable",
"subject": null,
"sysId": "e120f05abd104e2e952c6b9e693891ab",
"to": "support@stonebranch.com"
} ],
"snmpNotifications": [ {
"severity": "Minor",
"snmpManager": "test_manager",
"state": "Agents Unavailable",
"sysId": "fc4f4e8b0dea4b51a77a3c20f7e62b2a"
} ]
},
"sysId": "35dc94a7a8834d28b51e03b5780cd90c",
}
XML
<windowsAgentCluster>
<description>Cluster of Windows Agents</description>
<distribution>Any</distribution>
<ignoreInactiveAgents>true</ignoreInactiveAgents>
<ignoreSuspendedAgents>true0</ignoreSuspendedAgents>
<limitAmount>5</limitAmount>
<limitType>Limited</limitType>
<name>cluster1</name>
<networkAlias />
<networkAliasPort />
<notifications>
<emailNotification>
<sysId>2b7286b87a7048399fbd95c01a380002</sysId>
<bcc />
<body />
<cc />
<emailConnection>uc - Gmail Account</emailConnection>
<emailTemplate>uc - Template</emailTemplate>
<replyTo />
<state>Agents Unavailable</state>
<subject />
<to />
</emailNotification>
<snmpNotification>
<state>Agents Unavailable</state>
<sysId>21d992c72be44b159aac91c4ee9f40c6</sysId>
<severity>Minor</severity>
<snmpManager>SNMP Manager</snmpManager>
</snmpNotification>
</notifications>
<sysId>35dc94a7a8834d28b51e03b5780cd90c</sysId>
</windowsAgentCluster>
Read an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster |
HTTP Method | GET |
Description | Retrieves information on a specific Agent cluster. |
URI Parameters | |
Example URI | http://localhost:8080/uc/resources/agentcluster?agentclustername=cluster1 |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response | |
Agent Cluster Properties | |
Agent Properties | See Agent Properties. |
Agent Cluster: Email Notification Properties | |
Agent Cluster: SNMP Notification Properties |
Read an Agent Cluster: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Agent cluster. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this Agent cluster. | String; URI parameter. | Y (unless |
|
Read an Agent Cluster: XML and JSON Examples
The retainSysIdsand versionproperties are specified as attributes in XML.
The exportReleaseLevel and exportTable properties are specified as attributes in XML.
- JSON
- XML
JSON
{
"type": "windowsAgentCluster",
"agents": [ {
"Agent Cluster Web Services#agentName": "Mark-4 - AGNT001",
"membershipResumedOn": null,
"membershipSuspended": true,
"membershipSuspendedOn": "2021-06-29 19:18:30 -400",
"sysId": "941e558d6f2b4656bdb870e2551fa85e",
"type": "Windows"
} ],
"currentCount": 0,
"description": "Cluster of Windows Agents",
"distribution": "Network Alias",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_windows_agent_cluster",
"ignoreInactiveAgents": true,
"ignoreSuspendedAgents": true,
"lastAgentUsed": "sb-qa-123",
"lastResolution": "2018-09-12 09:52:03.410 -0500",
"limitAmount": 5,
"limitType": "Unlimited",
"name": "Cluster 1",
"networkAlias": "qa-123",
"networkAliasPort": null,
"notifications": {
"emailNotifications": [ {
"bcc": null,
"body": "${ops_system_identifier}",
"cc": null,
"emailConnection": "ecu-office-365",
"emailTemplate": "agent-built-variables",
"replyTo": null,
"state": "Agents Unavailable",
"subject": null,
"sysId": "e120f05abd104e2e952c6b9e693891ab",
"to": "support@stonebranch.com"
} ],
"snmpNotifications": [ {
"severity": "Minor",
"snmpManager": "test_manager",
"state": "Agents Unavailable",
"sysId": "fc4f4e8b0dea4b51a77a3c20f7e62b2a"
} ]
},
"opswiseGroups": [],
"resolutionDescription": "Agent in Use:'sb-qa-123'",
"resolutionStatus": "Success",
"retainSysIds": true,
"resumedOn": "2021-06-29 19:18:30 -400",
"strictBsrvcMembership":false,
"suspended": false,
"suspendedOn": null,
"sysId": "35dc94a7a8834d28b51e03b5780cd90c",
"version": 1
}
XML
<windowsAgentCluster exportReleaseLevel="7.2.0.0" exportTable="ops_windows_agent_cluster" retainsSysIds="true" version="1">
<agents>
<agent>
<Agent Cluster Web Services#agentName>pc - SS0001</Agent Cluster Web Services#agentName>
<membershipResumedOn />
<membershipSuspended>true</membershipSuspended>
<membershipSuspendedOn>2021-06-29 19:18:30 -400</membershipSuspendedOn>
<sysId>af1984d3481b4bccb9bea0e4e1d6fbf2</sysId>
<type>Windows</type>
</agent>
</agents>
<currentCount>0</currentCount>
<description>Cluster of Windows Agents</description>
<distribution>Network Alias</distribution>
<ignoreInactiveAgents>true</ignoreInactiveAgents>
<ignoreSuspendedAgents>true0</ignoreSuspendedAgents>
<lastAgentUsed>sb-qa-123</lastAgentUsed>
<lastResolution>2018-09-12 09:52:03.410 -0500</lastResolution>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<name>Cluster 1</name>
<networkAlias>qa-123</networkAlias>
<networkAliasPort />
<notifications>
<emailNotification>
<sysId>2b7286b87a7048399fbd95c01a380002</sysId>
<bcc />
<body />
<cc />
<emailConnection>uc - Gmail Account</emailConnection>
<emailTemplate>uc - Template</emailTemplate>
<replyTo />
<state>Agents Unavailable</state>
<subject />
<to />
</emailNotification>
<snmpNotification>
<state>Agents Unavailable</state>
<sysId>21d992c72be44b159aac91c4ee9f40c6</sysId>
<severity>Minor</severity>
<snmpManager>SNMP Manager</snmpManager>
</snmpNotification>
</notifications>
<opswiseGroups />
<resolutionDescription>Agent in Use:'sb-qa-123'</resolutionDescription>
<resolutionStatus>Success</resolutionStatus>
<resumedOn>2021-06-29 19:18:30 -400</resumedOn>
<strictBsrvcMembership>false</strictBsrvcMembership>
<suspended>false</suspended>
<suspendedOn /
<sysId>35dc94a7a8834d28b51e03b5780cd90c</sysId>
</windowsAgentCluster>
Resolve an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster/resolve |
HTTP Method | POST |
Description | Resolves the Network Alias for the specified agent cluster. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response |
Resolve an Agent Cluster: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"agentClusterName": "Agent_Cluster_Alias_Production"
}
Example Response
JSON
{
"type": "resolve_agent_cluster",
"success": true,
"info": "Successfully resolved agent cluster\"Agent_Cluster_Alias_Production\".",
"errors": ""
}
Example Request
XML
<resolve-agent-cluster>
<agentClusterName>Agent_Cluster_Alias_Production</agentClusterName>
</resolve-agent-cluster>
Example Response
XML
<command-response>
<type>resolve_agent_cluster</type>
<success>true</success>
<info>Successfully resolved network alias for agent cluster "Agent_Cluster_Alias_Production".</info>
<errors></errors>
</command-response>
Resolve an Agent Cluster: Request Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Cluster Name | Name used within the Controller to identify this agent cluster. | Y |
Resume an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster/resume |
HTTP Method | POST |
Description | Resumes the specified agent cluster. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response |
Resume an Agent Cluster: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"agentClusterNameagentClusterName": "uc - Default Windows Cluster"
}
Example Response
JSON
{
"type": "resume_agent_cluster",
"success": true,
"info": " Successfully resumed agent cluster "uc - Default Windows Cluster".",
"errors": ""
}
Example Request
XML
<resume-agent-cluster>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
</resume-agent-cluster>
Example Response
XML
<command-response>
<type>resume_agent_cluster</type>
<success>true</success>
<info>Successfully resumed agent cluster "uc - Default Windows Cluster".</info>
<errors />
</command-response>
Resume an Agent Cluster: Request Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Cluster Name | Name used within the Controller to identify this agent cluster. | Y |
Resume an Agent Cluster Membership
Description | |
|---|---|
URI | http://host_name/uc/resources/agent/ops-resume-agent-cluster-membership |
HTTP Method | POST |
Description | Resumes the specified agent cluster membership. |
Example URI | http://localhost:8080/uc/resources/agent/ops-resume-agent-cluster-membership |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Resume an Agent Cluster Membership: XML and JSON Examples. |
Request Properties | |
Example Response | See Resume an Agent Cluster Membership: XML and JSON Examples. |
Resume an Agent Cluster Membership: XML and JSON Examples
- JSON
- XML
Example Request
Details
JSON
By Agent Name{
"agentClusterName": "uc - Default Windows Cluster",
"agentName": "XPS-8300 - AGNT0001"
}
By Agent ID
{
"agentClusterName": "uc - Default Windows Cluster",
"agentID": "AGNT0001"
}
Example Response
JSON
{
"type": "resume_agent_cluster_membership",
"success": true,
"info": " Successfully resumed agent cluster membership.",
"errors": ""
}
Example Request
Details
XML
By Agent Name<resume-agent-cluster-membership>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
<agentName>XPS-8300 - AGNT0001</agentName>
</resume-agent-cluster-membership>
By Agent ID
<resume-agent-cluster-membership>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
<agentID>AGNT0001</agentID>
</resume-agent-cluster-membership>
Example Response
XML
<command-response>
<type>resume_agent_cluster_membership</type>
<success>true</success>
<info>Successfully resumed agent cluster membership.</info>
<errors />
</command-response>
Resume an Agent Cluster Membership: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Cluster Name | Name used within the Controller to identify this agent cluster. | Y | ||
| Agent ID | Defined by the user when installing the Agent; name used within the Controller to identify this resource. | Y |
| |
| Agent Name | Unique ID for this Agent, created during installation. The name of the communications server message queue. The Controller uses the communications server for communications between the Controller scheduler and Agents. | Y |
|
Return an Agent from an Agent Cluster
Description | |
|---|---|
URI | |
HTTP Method | GET |
Description | Retrieves information on a specific Agent from an Agent Cluster for which a Distribution method of Any or Lowest CPU Utilization is specified. |
URI Parameters | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Request URI | |
Example Response | See Return an Agent from an Agent Cluster: Example Response. |
Return an Agent from an Agent Cluster: URI Parameters
Parameter | Description | Specifications | Required |
|---|---|---|---|
| Name used within the Controller to identify this agent cluster. | Type = String; URI property. | Y |
| Specification to use or ignore the task execution limit. | Type = Boolean (true/false), Default is false; URI property. | N |
Return an Agent from an Agent Cluster: Example Response
- JSON
- XML
JSON Response
{
"hostName": "Mark-4",
"ipAddress": "192.168.1.21",
"name": "Mark-4 - AGNT0002",
"outputProhibited": false,
"queueName": "AGNT0002",
"status": "Active",
"suspended": false,
"sysID": "b4784b52bf0e453db37dc0c5e9bd441a",
"type": "Windows",
"version": "6.4.1.0"
}
XML Response
<agent>
<hostName>Mark-4</hostName>
<ipAddress>192.168.1.21</ipAddress>
<name>Mark-4 - AGNT0002</name>
<outputProhibited>false</outputProhibited>
<queueName>AGNT0002</queueName>
<status>Active</status>
<suspended>false</suspended>
<sysID>4425b28449574bb181d78e47c02867ac</sysID>
<type>Windows</type>
<version>6.4.1.0</version>
</agent>
Set an Agent Cluster Task Execution Limit
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster/taskexecutionlimit |
HTTP Method | POST |
Description | Sets the task execution limit for the specified agent cluster. |
Example URI | http://localhost:8080/uc/resources/agentcluster/taskexecutionlimit |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Set an Agent Cluster Task Execution Limit: XML and JSON Examples. |
Request Properties | See Set an Agent Cluster Task Execution Limit: Request Properties. |
Example Response | See Set an Agent Cluster Task Execution Limit: XML and JSON Examples. |
Set an Agent Cluster Task Execution Limit: XML and JSON Examples
- JSON
- XML
Example Request
Details
JSON
Limit Type: Limited{
"agentClusterName": "uc - Default Windows Cluster",
"limitAmount": 15,
"limitType": "Limited"
}
Limit Type: Unlimited
{
"agentClusterName": "uc - Default Windows Cluster",
"limitType": "Unlimited"
}
Example Response
JSON
{
"type": "set_agent_cluster_task_execution_limit",
"success": true,
"info": " Successfully updated agent cluster"uc - Default Windows Cluster" with task limit type: "Limited", amount: "15".",
"errors": ""
}
Example Request
Details
XML
Limit Type: Limited<set-agent-cluster-task-execution-limit>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
<limitAmount>15</limitAmount>
<limitType>Limited</limitType>
</set-agent-cluster-task-execution-limit>
Limit Type: Unlimited
<set-agent-cluster-task-execution-limit>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
<limitType>Unlimited</limitType>
</set-agent-cluster-task-execution-limit>
Example Response
XML
<command-response>
<type>set_agent_cluster_task_execution_limit</type>
<success>true</success>
<info>Successfully updated agent cluster"uc - Default Windows Cluster" with task limit type: "Limited", amount: "15".</info>
<errors />
</command-response>
Set an Agent Cluster Task Execution Limit: Request Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Cluster Name | Name used within the Controller to identify this agent cluster. | Y | |
| Limit Amount | Number of tasks that can be running at the same time by the Agents in this agent cluster. | Set only if | N |
| Task Execution Limit | Specification for whether a Limited or Unlimited number of task instances can be run concurrently by the Agents in this agent cluster. For purposes of imposing this task execution limit, running task instances are those in any of these statuses: Cancel Pending, Queued, Received, Running, Submitted, and Started. | Valid values:
| Y |
Suspend an Agent Cluster
Description | |
|---|---|
URI | http://host_name/uc/resources/agentcluster/suspend |
HTTP Method | POST |
Description | Suspends the specified agent cluster. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | |
Request Properties | |
Example Response |
Suspend an Agent Cluster: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"agentClusterName": "uc - Default Windows Cluster"
}
Example Response
JSON
{
"type": "suspend_agent_cluster",
"success": true,
"info": " Successfully suspended agent cluster "uc - Default Windows Cluster".",
"errors": ""
}
Example Request
XML
<suspend-agent-cluster>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
</suspend-agent-cluster>
Example Response
XML
<command-response>
<type>suspend_agent_cluster</type>
<success>true</success>
<info>Successfully suspended agent cluster "uc - Default Windows Cluster".</info>
<errors />
</command-response>
Suspend an Agent Cluster: Request Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Cluster Name | Name used within the Controller to identify this agent cluster. | Y |
Suspend an Agent Cluster Membership
Description | |
|---|---|
URI | http://host_name/uc/resources/agent/ops-suspend-agent-cluster-membership |
HTTP Method | POST |
Description | Suspends the specified agent cluster membership. |
Example URI | http://localhost:8080/uc/resources/agent/ops-suspend-agent-cluster-membership |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Suspend an Agent Cluster Membership: XML and JSON Examples. |
Request Properties | See Suspend an Agent Cluster Membership: Request Properties. |
Example Response | See Suspend an Agent Cluster Membership: XML and JSON Examples. |
Suspend an Agent Cluster Membership: XML and JSON Examples
- JSON
- XML
Example Request
Details
JSON
By Agent Name{
"agentClusterName": "uc - Default Windows Cluster",
"agentName": "XPS-8300 - AGNT0001"
}
By Agent ID
{
"agentClusterName": "uc - Default Windows Cluster",
"agentID": "AGNT0001"
}
Example Response
JSON
{
"type": "suspend_agent_cluster_membership",
"success": true,
"info": " Successfully suspended agent cluster membership.",
"errors": ""
}
Example Request
Details
XML
By Agent Name<suspend-agent-cluster-membership>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
<agentName>XPS-8300 - AGNT0001</agentName>
</suspend-agent-cluster-membership>
By Agent ID
<suspend-agent-cluster-membership>
<agentClusterName>uc - Default Windows Cluster</agentClusterName>
<agentID>AGNT0001</agentID>
</suspend-agent-cluster-membership>
Example Response
XML
<command-response>
<type>suspend_agent_cluster_membership</type>
<success>true</success>
<info>Successfully suspended agent cluster membership.</info>
<errors />
</command-response>
Suspend an Agent Cluster Membership: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| Cluster Name | Name used within the Controller to identify this agent cluster. | Y | ||
| Agent ID | Unique ID for this Agent, created during installation. | Y |
| |
| Agent Name | Name used within the Controller to identify this resource. | Y |
|