Get All Snmp Agents
API to get a list of agents.
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 snmp agents
[
{
"devType": "Router",
"collectorNameList": [
"checking-Direct.Creation"
],
"agentId": "10.106.232.55:161",
"doNotUseGetBulkRequests": false,
"snmpVersion": "v2c",
"ipAddress": "10.106.232.55",
"v1TableRowPolling": false,
"pollingPeriod": 0,
"capabilitiesWithPollingPeriod": [
{
"capabilityName": "CISCO-MEMORY-OLD",
"pollingPeriod": 0
},
{
"capabilityName": "GENERIC-SYSUPTIME",
"pollingPeriod": 0
},
{
"capabilityName": "GENERIC-INTERFACES",
"pollingPeriod": 0
}
],
"useV3ContextEnginedId": false,
"discoveryStarted": false,
"doNotUseCapabilityList": [],
"maxBulkSize": 50,
"snmpCommunityOrUserV3Name": "{FB4571C1E38F7FEE40E3768BE0277A7365563DD06438D934B63FEF7865490E8EA3E6E47C0FC874926F8DC4D15FA98696}",
"transportProtocol": "udp",
"name": "Agent45",
"snmpPort": 161,
"snmpTimeout": 3000,
"onFailTryWith": "v1",
"snmpNumberOfRetries": 2,
"snmpV3Constraint": true,
"useV3ContextName": false
}
]
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/agents