Get Polling Groups
API to get a list of polling groups.
Requested index for start of resources to be provided in response
Requested number of resources to be provided in response
The name of the current snmp integration
snmp-integration
OK Returned list of all polling groups
[
{
"snmpAgentsIPGroupNames": [],
"pollingMaskNames": [
"CISCO-MEMORY-OLD",
"GENERIC-SYSUPTIME",
"CISCO-MEMORY",
"CISCO-PROCESS-POST12.2(3.5)",
"GENERIC-INTERFACES"
],
"pollingPeriod": 200,
"startAtDefinedPeriod": false,
"startTimeOffset": 0,
"enabled": true,
"assignedTo": "collector-b",
"groupName": "group",
"snmpAgentsExplicitGroupNames": [],
"snmpAgentIps": [],
"uniformTimestamps": false,
"name": "GEN-M6LI43PGZJ-200",
"oneOrNone": true,
"snmpAgentNames": [
"10.107.116.242:161"
],
"tableDiscoveryTime": "00:00:00"
},
{
"snmpAgentsIPGroupNames": [],
"pollingMaskNames": [
"CISCO-MEMORY-OLD",
"GENERIC-SYSUPTIME",
"CISCO-MEMORY",
"CISCO-PROCESS-POST12.2(3.5)",
"GENERIC-INTERFACES"
],
"pollingPeriod": 100,
"startAtDefinedPeriod": false,
"startTimeOffset": 0,
"enabled": true,
"assignedTo": "snmp-collector",
"groupName": "group",
"snmpAgentsExplicitGroupNames": [],
"snmpAgentIps": [],
"uniformTimestamps": false,
"name": "GEN-KZI0DGUWZ6-100",
"oneOrNone": true,
"snmpAgentNames": [
"10.107.119.1:161"
],
"tableDiscoveryTime": "00:00:00"
}
]
BAD REQUEST Error in request sent
"SnmpError Object"
This code refers to the internal error codes used in the code base.
This specifies the reason for failure.
This specifies the HTTP status code error
INTERNAL SERVER ERROR Error on the server
"SnmpError Object"
This code refers to the internal error codes used in the code base.
This specifies the reason for failure.
This specifies the HTTP status code error
curl -H 'Authorization: <value>' https://{api_host}/tcsa/api/v1/snmp/pollingGroups