Get Snmp Actions

Get Snmp Actions

API to get a list of actions.

Request
URI
GET
https://{api_host}/tcsa.host.com/tcsa/api/v1/snmp/actions
COPY
Query Parameters
integer
offset
Optional

Requested index for start of resources to be provided in response

integer
limit
Optional

Requested number of resources to be provided in response

string
snmpIntegration
Optional

The name of the current snmp integration


Authentication
This operation uses the following authentication methods.
Responses
200

OK Returned list of all snmp actions

Returns Array of SnmpAction of type(s) application/json
[
    {
        "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"
                    }
                ]
            }
        ]
    }
]

400

BAD REQUEST Error in request sent

Returns SnmpError of type(s) application/json
{
    "code": "SNMP_COLLECTOR_API_006",
    "reason": "No Snmp collector running, discovery cannot be performed",
    "status": "404 Not Found"
}
string
code
Optional

This code refers to the internal error codes used in the code base.

string
reason
Optional

This specifies the reason for failure.

string
status
Optional

This specifies the HTTP status code error


500

INTERNAL SERVER ERROR Error on the server

Returns SnmpError of type(s) application/json
{
    "code": "SNMP_COLLECTOR_API_006",
    "reason": "No Snmp collector running, discovery cannot be performed",
    "status": "404 Not Found"
}
string
code
Optional

This code refers to the internal error codes used in the code base.

string
reason
Optional

This specifies the reason for failure.

string
status
Optional

This specifies the HTTP status code error