Management Of Collector Lifecycle

Management Of Collector Lifecycle

You can start, stop, and restart the collectors start - Collector will start collecting data based on its configuration stop - Collector will stop collecting data restart - is usuful if collector is not working as expected

Request
URI
POST
https://{api_host}/tcsa.host.com/dcc/v1/collectors/{collector-name}
COPY
Path Parameters
string
collector-name
Required

ID of the instantiated collector block

collector-name example
demo-collector
Query Parameters
string
action
Required

action to be performed start/stop/restart

action example
start
Possible values are : start, stop, restart,

Authentication
This operation uses the following authentication methods.
Responses
200

Success In Restarting Collector

Returns DCFRestartServiceResponse of type(s) application/json
{
    "id": "apg-collector-manager-cloudify-orchestratorffa3bb75-99f4-4613-8a5a-45e2cee0372c",
    "status": "STARTED"
}
string As ^.*$
id
Required

Instance id of the Collector instance

string As ^.*$
status
Required

Status of the collector instance after the restart operation is triggered


400

Invalid Request sent by the user

Operation doesn't return any data structure

401

User authentication failed

Operation doesn't return any data structure

403

Access to the requested resource/operation is forbidden

Operation doesn't return any data structure

404

Cannot find requested resource

Operation doesn't return any data structure

500

Internal server error

Operation doesn't return any data structure