Agent Web Services
Overview
Universal Controller supports the following RESTful-based web services for Agent operations, which are listed alphabetically on this page.
Formatting specifications for each web service, including details about property requirements, are provided.
Delete an Agent
Description | |
|---|---|
URI | |
HTTP Method | DELETE |
Description | Deletes an Agent. |
URI Parameters | See Delete an Agent: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Example Response |
|
Delete an Agent: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this Agent, created during installation. | Y |
| |
| Name used within the Controller to identify this agent. | Maximum 40 alphanumerics. | Y |
|
List Agents
Description | |
|---|---|
URI | |
HTTP Method | GET |
Description | Retrieves information on all agents. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
Example | |
Properties |
List Agents: XML and JSON Examples
The following XML and JSON examples are for the List Agents web service.
XML | JSON |
|---|---|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<agents>
<agent>
<credentialsRequired>false</credentialsRequired>
<extAccept>true</extAccept>
<extAcceptList>
<extension>*</extension>
</extAcceptList>
<extApiLevelMax>1.4.0</extApiLevelMax>
<extApiLevelMin>1.0.0</extApiLevelMin>
<extensions>
<extension checksum="7C3BBD763658E528A4049E85BEA206866A9C42530C56F9A852525CEC7944DB12">qaextension</extension>
</extensions>
<hostName>SBUS30</hostName>
<ipAddress>192.168.56.1</ipAddress>
<name>SBUS30 - AGNT0003</name>
<outputProhibited>false</outputProhibited>
<queueName>AGNT0003</queueName>
<status>Active</status>
<suspended>false</suspended>
<sysID>8dc34ce553314894a5419d28a20b3579</sysID>
<transient>false</transient>
<type>Windows</type>
<version>7.4.0.0</version>
</agent>
</agents> | [
{
"credentialsRequired": false,
"extAccept": true,
"extAcceptList": [
"*"
],
"extApiLevelMax": "1.4.0",
"extApiLevelMin": "1.0.0",
"extensions": [
{
"name": "qaextension",
"checksum": "7C3BBD763658E528A4049E85BEA206866A9C42530C56F9A852525CEC7944DB12"
}
],
"hostName": "SBUS30",
"ipAddress": "192.168.56.1",
"name": "SBUS30 - AGNT0003",
"outputProhibited": false,
"queueName": "AGNT0003",
"status": "Active",
"suspended": false,
"sysID": "8dc34ce553314894a5419d28a20b3579",
"transient": false,
"type": "Windows",
"version": "7.4.0.0"
}
] |
List Agents: Properties
Property | UI Field Name | Description |
|---|---|---|
| Accept Extensions | Indication of whether or not the Agent will accept deployment of Universal Extensions. |
| Accept List | If
|
| API Level Minimum | Minimum extension API level supported. |
| API Level Maximum | Maximum extension API level supported. |
| Extensions | List of deployed Universal Extensions and their corresponding checksums. |
| Host Name | IP address or domain/name of the host machine where the Agent resides. |
| IP Address | TCP/IP address of the machine where the Agent is running. If the currently logged in user is a non-Administrator (ops_admin) user, and the Agent Address Information Restricted Universal Controller system property is set to true, ipAddress will be set to <ipAddress /> (XML) and "ipAddress": null (JSON). Note This also applies to the ipAddress of z/OS secondary Agents. |
| Agent Name | Name used within the Controller to identify this Agent. |
| Retrieve Output Prohibited | Specification (true or false) for whether or not Retrieve Output requests are disallowed from being performed for this Agent. |
| Agent Id | Unique ID for this Agent. |
| Status | Status of the Agent. |
| Suspended | Indication (true or false) of whether or not the Agent currently is suspended. |
| n/a | System ID field in the database for this Agent record. |
| Transient | For Linux Unix Agents only; Specification (true or false) for whether or not the Agent is considered a Transient Agent. |
| Operating System | Operating system on which the Agent is running. |
| Version | Version number of the Agent program. |
List Agents - Advanced
Description | |
|---|---|
URI | |
HTTP Method | GET |
Description | Retrieves Agent details using specific query parameters. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
URI Parameters | |
Example Response |
List Agents - Advanced: URI Parameters
Name | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| n/a | Type of Agent | Valid values (case insensitive):
| N |
| n/a | Name used within the Controller to identify this Agent. | Wildcards are supported. | N |
| n/a | Business Services that this Agent belongs to. | String value of comma-separated business services. | N |
List Agents - Advanced: XML and JSON Examples
The following XML and JSON examples are for the List Agents - Advanced web service.
XML | JSON |
|---|---|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<agents>
<windowsAgent>
<authVersion>2</authVersion>
<build>84</build>
<buildDate>20200108073718</buildDate>
<cpu>AMD64 (12 CPU(s))</cpu>
<cpuLoad>7</cpuLoad>
<credentials />
<credentialsRequired>false</credentialsRequired>
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<extAccept>false</extAccept>
<extAcceptList/>
<extApiLevelMax />
<extApiLevelMin />
<extensions/>
<hbDate>2021-04-28 15:48:20 -0400</hbDate>
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>SBUS30</hostName>
<ipAddress>192.168.56.1</ipAddress>
<jobs>3</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Informational</logLevel>
<name>SBUS30 - AGNT0005</name>
<notifications/>
<omsServer>localhost</omsServer>
<opswiseGroups>
<opswiseGroup>A</opswiseGroup>
<opswiseGroup>B</opswiseGroup>
</opswiseGroups>
<os>Microsoft Windows</os>
<osRelease>Professional (Build 9200)</osRelease>
<outputProhibited>false</outputProhibited>
<pid>8216</pid>
<queueName>AGNT0005</queueName>
<startDate>2021-04-28 13:37:15 -0400</startDate>
<status>Active</status>
<suspended>false</suspended>
<sysId>1530cd78f6dd4c449820e84419bcfa46</sysId>
<transient>false</transient>
<version>6.8.0.0</version>
</windowsAgent>
<unixAgent>
<authVersion>2</authVersion>
<build>86</build>
<buildDate>20200908093406</buildDate>
<cpu>GenuineIntel Common KVM processor (1 CPU)</cpu>
<cpuLoad>1</cpuLoad>
<credentials />
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<extAccept>false</extAccept>
<extAcceptList/>
<extApiLevelMax />
<extApiLevelMin />
<extensions/>
<hbDate />
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>qa-lx4u18-x64.stone.branch</hostName>
<ipAddress>127.0.1.1</ipAddress>
<jobs>0</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Informational</logLevel>
<name>qa-lx4u18-x64.stone.branch - AGNT-QA-LX4U18-X64-1AU</name>
<notifications/>
<omsServer />
<opswiseGroups/>
<os>Linux</os>
<osRelease>x86_64 4.15.0-23-generic (#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018)</osRelease>
<outputProhibited>false</outputProhibited>
<pid />
<queueName>AGNT-QA-LX4U18-X64-1AU</queueName>
<startDate />
<status>Offline</status>
<suspended>false</suspended>
<sysId>064a4de67fb1457eba88c01a8d7e1a49</sysId>
<transient>false</transient>
<version>6.9.0.0</version>
</unixAgent>
<zosAgent>
<authVersion>2</authVersion>
<build>41</build>
<buildDate>20210318123354</buildDate>
<cpu>3907</cpu>
<cpuLoad>0</cpuLoad>
<credentials />
<currentCount>0</currentCount>
<decommissioned>false</decommissioned>
<decommissionedDate />
<extAccept>false</extAccept>
<extAcceptList/>
<extApiLevelMax />
<extApiLevelMin />
<extensions/>
<hbDate />
<hbGracePeriod />
<hbIntvl>120</hbIntvl>
<hostName>DVZOS202</hostName>
<ipAddress>192.168.30.84</ipAddress>
<jobs>0</jobs>
<limitAmount>5</limitAmount>
<limitType>Unlimited</limitType>
<logLevel>Informational</logLevel>
<name>DVZOS202 - AGNT0014</name>
<notifications/>
<omsServer>localhost:7878</omsServer>
<opswiseGroups/>
<os>ZOS</os>
<osRelease>020200</osRelease>
<outputProhibited>false</outputProhibited>
<pid />
<queueName>AGNT0014</queueName>
<secondaryAgentCount>0</secondaryAgentCount>
<secondaryAgents/>
<startDate />
<status>Offline</status>
<suspended>false</suspended>
<sysId>11cc3d5269de40c3ae3b03d7b3c771e8</sysId>
<systemName>DVZOS202</systemName>
<transient>false</transient>
<version>7.0.0.0</version>
</zosAgent>
</agents> | [
{
"type": "unixAgent",
"authVersion": "2",
"build": "86",
"buildDate": "20200908093406",
"cpu": "GenuineIntel Common KVM processor (1 CPU)",
"cpuLoad": 1,
"credentials": null,
"credentialsRequired": false,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"extAccept": false,
"extAcceptList": [],
"extApiLevelMax": null,
"extApiLevelMin": null,
"extensions": [],
"hbDate": null,
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "qa-lx4u18-x64.stone.branch",
"ipAddress": "127.0.1.1",
"jobs": 0,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Informational",
"name": "qa-lx4u18-x64.stone.branch - AGNT-QA-LX4U18-X64-1AU",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": null,
"opswiseGroups": [],
"os": "Linux",
"osRelease": "x86_64 4.15.0-23-generic (#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018)",
"outputProhibited": false,
"pid": null,
"queueName": "AGNT-QA-LX4U18-X64-1AU",
"startDate": null,
"status": "Offline",
"suspended": false,
"sysId": "064a4de67fb1457eba88c01a8d7e1a49",
"transient": false,
"version": "6.9.0.0"
}
{
"authVersion": "2",
"build": "84",
"buildDate": "20200108073718",
"cpu": "AMD64 (12 CPU(s))",
"cpuLoad": 7,
"credentials": null,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"extAccept": false,
"extAcceptList": [],
"extApiLevelMax": null,
"extApiLevelMin": null,
"extensions": [],
"hbDate": "2021-04-28 15:48:20 -0400",
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "SBUS30",
"ipAddress": "192.168.56.1",
"jobs": 3,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Informational",
"name": "SBUS30 - AGNT0005",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": "localhost",
"opswiseGroups": [
"A",
"B"
],
"os": "Microsoft Windows",
"osRelease": "Professional (Build 9200)",
"outputProhibited": false,
"pid": "8216",
"queueName": "AGNT0005",
"startDate": "2021-04-28 13:37:15 -0400",
"status": "Active",
"suspended": false,
"sysId": "1530cd78f6dd4c449820e84419bcfa46",
"transient": false,
"version": "6.8.0.0"
}
{
"type": "zosAgent",
"authVersion": "2",
"build": "41",
"buildDate": "20210318123354",
"cpu": "3907",
"cpuLoad": 0,
"credentials": null,
"currentCount": 0,
"decommissioned": false,
"decommissionedDate": null,
"extAccept": false,
"extAcceptList": [],
"extApiLevelMax": null,
"extApiLevelMin": null,
"extensions": [],
"hbDate": null,
"hbGracePeriod": null,
"hbIntvl": 120,
"hostName": "DVZOS202",
"ipAddress": "192.168.30.84",
"jobs": 0,
"limitAmount": 5,
"limitType": "Unlimited",
"logLevel": "Informational",
"name": "DVZOS202 - AGNT0014",
"notifications": {
"emailNotifications": [],
"snmpNotifications": []
},
"omsServer": "localhost:7878",
"opswiseGroups": [],
"os": "ZOS",
"osRelease": "020200",
"outputProhibited": false,
"pid": null,
"queueName": "AGNT0014",
"secondaryAgentCount": 0,
"secondaryAgents": [],
"startDate": null,
"status": "Offline",
"suspended": false,
"sysId": "11cc3d5269de40c3ae3b03d7b3c771e8",
"systemName": "DVZOS202",
"transient": false,
"version": "7.0.0.0"
}
] |
Modify an Agent
Description | |
|---|---|
URI | |
HTTP Method | PUT |
Description | Modifies the Agent specified by the |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | |
Agent Properties | See Agent: Properties. |
Email Notification Properties | |
SNMP Notification Properties | |
Example Response |
|
Read an Agent
Description | |
|---|---|
URI | |
HTTP Method | GET |
Description | Retrieves information on a specific Agent. |
URI Parameters | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example URI | |
Example Response | |
Agent Properties | See Agent: Properties. |
Email Notification Properties | |
SNMP Notification Properties |
Read an Agent: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this Agent. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this Agent. | String; URI parameter. | Y (unless |
|
Agent: XML and JSON Examples
XML | JSON |
|---|---|
|