Retrieve Snmp Action
API to get a particular action given the name.
The name of the action being requested
The name of the current snmp integration
OK Returned configuration of snmp action requested
{
"loadFactor": 5,
"capabilityName": "CISCO-IPSLA-STATSTABLE",
"defaultPollingPeriod": 0,
"discoveryPasses": [
{
"capabilityConditionGroup": [
{
"invertResult": false,
"name": "SingleOidContainsSnmpCondition",
"matchValue": "\\\\.1\\\\.3\\\\.6\\\\.1\\\\.4\\\\.1\\\\.9\\\\..*",
"oid": ".1.3.6.1.2.1.1.2.0"
}
]
},
{
"capabilityConditionGroup": [
{
"invertResult": false,
"name": "TableColumnExistsSnmpCondition",
"matchValue": "",
"oid": ".1.3.6.1.4.1.9.9.42.1.3.1.1.5"
},
{
"invertResult": false,
"name": "TableColumnExistsSnmpCondition",
"matchValue": "",
"oid": ".1.3.6.1.4.1.9.9.42.1.3.2.1.1"
}
]
}
]
}
The name of the action/capability
The load this capability will have on a collector
The polling period for all polling groups which use this capability
The list of rules for this action
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
NOT FOUND Requested object not found
"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/actions/{actionName}