⚠️ Archived: We are no more maintaining this codebase. See docker images on docker hub or respective public image registries where logicmonitor host/push images. If you are interested in learning how to monitor your Kubernetes clusters, please refer to the LogicMonitor Container monitoring guide.
Docker image capable of installing and running a LogicMonitor collector
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
- extra_large requires 16GB memory (This size is available for EA version only and not for GD and MGD)
- double_extra_large requires 32GB memory (This size is available for EA version only and not for GD and MGD)
false
small
- nano
- small
- medium
- large
- extra_large
- double_extra_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
The url of the proxy server
false
null
username to authenticate to proxy server
false
null
password to authenticate to proxy server
false
null
Set flag to ignore ssl/tls validation
false
false
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 \
-e proxy_url=<your proxy url> \
-e proxy_user=<your proxy user> \
-e proxy_pass=<your proxy password> \
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 \
-e proxy_url=<your proxy url> \
-e proxy_user=<your proxy user> \
-e proxy_pass=<your proxy password> \
logicmonitor/collector:latest