...
Cloud Collector → this method runs the collector as a service.
Docker container → this method runs the collector in standalone mode.
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:
...
Expand |
---|
title | Find the JSON config file for your integration here |
---|
|
Child pages (Children Display) |
---|
depth | 1 |
---|
allChildren | true |
---|
style | |
---|
sortAndReverse | |
---|
first | 0 |
---|
|
|
3.
...
Running the collector using the 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.
...
Expand |
---|
title | Find the YAML config file for your integration here |
---|
|
Child pages (Children Display) |
---|
depth | 1 |
---|
allChildren | true |
---|
style | |
---|
sortAndReverse | |
---|
first | 0 |
---|
|
|
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 .tgz
file (click the expandable below to see the list of integrations and then click the desired one to see access its docker image):
Expand |
---|
title | Find the DOCKER IMAGE for your integration here |
---|
|
Child pages (Children Display) |
---|
depth | 1 |
---|
allChildren | true |
---|
style | |
---|
sortAndReverse | |
---|
first | 0 |
---|
|
|
Use the following command to add the Docker image to the system: Code Block |
---|
gunzip -c collector-generic-docker-image-<version>.tgz | docker load |
Info |
---|
Once the Docker image is imported, it will show the real name of the Docker image (including version info). Replace <version> with the corresponding value. Once the Docker image is imported, it will show the real name of the Docker image (including version info). |
|
3.5. Deploying the collector: available services
...
Code Block |
---|
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 <any_directory>/devo-collectors/devo-<integration>-collector-<number>/ directory: |
Code Block |
---|
$ IMAGE_VERSION=<version> docker-compose up -d |
Note |
---|
Replace <version> with the corresponding value. |
|