1. Running the Generic Collector: available methods
|
2. Running the collector using Cloud Collector
The Cloud Collector is an application that allows you to run sets of collectors grouped by Devo domain destinations. To have an instance of this data collector running, follow these steps:
|
3. Running the collector on-premise (Docker container)
This data collector can be run on any machine with the Docker service available because it should be executed as a Docker container. The following sections explain how to prepare the required setup. |
3.1. Collector directory structure
<any_directory> └── devo-collectors/ └── devo-<integration>-collector-<number>/ ├── certs/ │ ├── chain.crt │ ├── <your_domain>.key │ └── <your_domain>.crt └── config/ └── config-generic.yaml The reason for having |
3.2. Getting Devo certificates
To send data securely to the Devo platform, you will need to download X.509 Certificates from your Devo Domain. Download "Certificate", "Private Key" and "Chain" and save it on For more information about how to get the Devo certificates, please visit Devo Docs. |
3.3. Editing config-generic.yaml file
Copy-paste the config template of the corresponding integration. |
3.4. Downloading the Docker image
The collector should be deployed as a Docker container. Download the Docker image from the corresponding integration as a | |
Use the following command to add the Docker image to the system: gunzip -c collector-generic-docker-image-<version>.tgz | docker load Once the Docker image is imported, it will show the real name of the Docker image (including version info). Replace | |
Collector Docker image | SHA-256 hash |
3.5. Deploying the collector: available services
3.5.1. Docker
Execute the following command on the root directory docker run \ --name devo-<integration>-collector-<number> \ --volume $PWD/certs:/devo-collector/certs \ --volume $PWD/config:/devo-collector/config \ --volume $PWD/state:/devo-collector/state \ --env CONFIG_FILE=config-generic.yaml \ --rm -it devo.com/collectors/generic-collector:<version> Replace |
3.5.2. Docker-Compose
The content of the version: '3' services: devo-generic-collector: build: context: . dockerfile: Dockerfile image: devo.com/collectors/generic_collector:${IMAGE_VERSION:-latest} container_name: <integration>-collector-<number> volumes: - ./certs:/devo-collector/certs - ./config:/devo-collector/config - ./state:/devo-collector/state environment: - CONFIG_FILE=${CONFIG_FILE:-config-generic.yaml} |
To run the container using docker-compose execute the following command from the $ IMAGE_VERSION=<version> docker-compose up -d Replace |
4. List of integrations
This is the list of available integrations for the cloud collector. Click the desired one to see the specific config files that you need to use to configure it.