Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Read an Agent Cluster XML and JSON Examples
Read an Agent Cluster XML and JSON Examples
Read an Agent Cluster: XML and JSON Examples

The retainSysIds and version properties are specified as attributes in XML.

The exportReleaseLevel and exportTable properties are specified as attributes in XML.

XML

JSON

Expand
titleXML
<windowsAgentCluster exportReleaseLevel="7.2.0.0" exportTable="ops_windows_agent_cluster" retainsSysIds="true" version="1">
      <agents>
            <agent>
                  <agentName>pc - SS0001</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>
<suspended>false</suspended>
<suspendedOn / <sysId>35dc94a7a8834d28b51e03b5780cd90c</sysId> </windowsAgentCluster>
Expand
titleJSON
{
  "type": "windowsAgentCluster",
  "agents": [ {
    "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",
"suspended": false,
"suspendedOn": null, "sysId": "35dc94a7a8834d28b51e03b5780cd90c", "version": 1 }

...