Minion Docker
Startup arguments
Argument | Description |
---|---|
|
Display help with available arguments. |
|
Start Minion and use environment credentials to register Minion on Horizon. |
|
One-time command to initialize an encrypted keystore file with credentials in |
|
Initialize and start Minion in foreground. |
Environment variables
Environment variable | Description | Required | Default value |
---|---|---|---|
|
Unique Minion identifier |
optional |
generated UUID |
|
Name of the location associated with the Minion |
required |
– |
Environment variable | Description | Required | Default value |
---|---|---|---|
|
User name for the REST API |
optional |
|
|
Password for the REST API |
optional |
|
|
ActiveMQ broker URL |
required |
– |
|
Username for ActiveMQ authentication |
optional |
|
|
Password for ActiveMQ authentication |
optional |
|
If you want to use Apache Kafka the environment variable names are converted with a prefix convention:
-
Prefix
KAFKA_RPC_
will be written toorg.opennms.core.ipc.rpc.kafka.cfg
-
Prefix
KAFKA_SINK_
will be written toorg.opennms.core.ipc.sink.kafka.cfg
-
Everything behind will be converted to lower case and
_
is replaced with.
As an example:
environment:
- KAFKA_RPC_BOOTSTRAP_SERVERS=192.168.1.1,192.168.1.2
This creates the file org.opennms.core.ipc.rpc.kafka.cfg
with the content:
bootstrap.servers=192.168.1.1,192.168.1.2