Install a Collector in Docker

Introduction

The OverOps Collector can be made available to other containers via networking. In this section, we'll run the Collector locally, binding to port 6060 on the host machine. The installation key and configuration files are mounted into the container from the host machine.

Verify that Java is installed before you begin the Collector installation.

Run the Collector

📘

TIP

Get the Overops/Collector from Docker Hub.

  1. Create a private folder.

🚧

Important

The private folder needs to be on the same directory from which you run the docker commands or the path to the private folder needs to be explicitly provided in the docker command arguments.

  1. In the private folder, create the file installation.key that contains your installation key.
  2. In the private folder, create the collector.properties file based on the following template.
    You can find additional templates in GitHub.
jvmPath=${JAVA_HOME}/lib/amd64/server/libjvm.so
 libraryPath=/opt/takipi/lib

 takipi.backend.url=https://backend.overops.com
 takipi.storage.test.url=https://s3.amazonaws.com/app-takipi-com/ConnectionTest
 takipi.jvm.heap.size=1G
 takipi.listen.port=6060
 takipi.server.name=docker

📘

TIP

Are you running OverOps Server On-Premises? Set takipi.backend.url and takipi.storage.test.url to point to your On-Premises installation.

  1. Run the overops/collector container.

📘

TIP

Run from directory that contains the private directory, otherwise you'll get an error response: invalid mount config for type "bind": source path does not exist: /private/private

docker run -d -p 6060:6060 \
--mount type=bind,source="$(pwd)"/private,target=/opt/takipi/private overops/collector
  1. Verify connectivity on https://app.overops.com/ in your browser.