Send Collector Configurations

Send Collector Configurations

API to send the configuration of the snmp Collectors to the collector manager. On successful completion it changes the state of the collector to IN_SYNC

Request
URI
POST
https://{api_host}/tcsa.host.com/tcsa/api/v1/snmp/collector/push
COPY
Query Parameters
string
snmpIntegration
Optional

The name of the current snmp integration

snmpIntegration example
snmp-integration

Authentication
This operation uses the following authentication methods.
Responses
200

OK Returned list of names of collectors successfully sent to the collector manager.

Returns Array of string of type(s) application/json
[
    "collectora",
    "collectorb"
]

400

BAD REQUEST Error in the 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

INERNAL 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