Docker image capable of installing and running a LogicMonitor collector
Note that this is beta functionality, and as such LogicMonitor support will not be able to assist in any issues that arise.  Instead, please create issues directly in this GitHub repository.
https://hub.docker.com/r/logicmonitor/collector/
- You must have a LogicMonitor account
- The specified token Access Id and Access Key must have sufficient permission to perform the requested actions
All listed parameters are specified as container environment variables at runtime.
LogicMonitor account name
true
null
LogicMonitor API Token Access ID
true
null
LogicMonitor API Token Access Key
true
null
The Id of the failover Collector configured for this Collector
false
null
Whether or not to remove itself from the portal when the container is stopped
false
False
bool
The Id of the group the Collector is in
If a Collector with the same description already exists, use that Collector Id
false
/
The size of the Collector to install:
- nano requires < 2GB memory
- small requires 2GB memory
- medium requires 4GB memory
- large requires 8GB memory
false
small
- nano
- small
- medium
- large
The version of the collector to install (without periods or other characters) https://www.logicmonitor.com/support/settings/collectors/collector-versions/
false
null
The Collector's description
false
null
Whether or not automatic failback is enabled for the Collector
false
False
bool
The Id of the escalation chain associated with this Collector
false
1
The Id of an existing Collector provision
The specified Collector Id must already exist in order to use this option
false
null
The interval, in minutes, after which alert notifications for the Collector will be resent
false
15
Whether alert clear notifications are suppressed for the Collector
false
False
bool
If true, the latest EA Collector version will be used
false
False
bool
docker run --name lm-collector -d \
-e account=<your portal name> \
-e access_id=<your api access id> \
-e access_key=<your api access key> \
-e backup_collector_id=15 \
-e collector_group=DockerCollectors \
-e collector_size=large \
-e description='My Dockerized Collector' \
-e enable_fail_back=yes \
-e escalating_chain_id=1 \
-e resend_interval=60 \
-e suppress_alert_clear=no \
-e cleanup=true \
logicmonitor/collector:latest
docker run --name lm-collector -d \
-e account=<your portal name> \
-e access_id=<your api access id> \
-e access_key=<your api access key> \
-e collector_id=16 \
-e collector_size=large \
logicmonitor/collector:latest