Core Docker
Startup arguments
| Argument | Description | 
|---|---|
  | 
Display help with available arguments.  | 
  | 
Start the process in the foreground and use existing data and configuration.  | 
  | 
One-time command to initialize or update database and configuration files and do NOT start.  | 
  | 
Command to initialize or update database and configuration files and start OpenNMS in the foreground.  | 
  | 
One-time command to run the config-tester against the configuration.  | 
Environment variables
Environment variable  | 
Description  | 
Required  | 
Default value  | 
  | 
Allows you to add additional Java options.  | 
optional  | 
  | 
  | 
Enable the JMX Prometheus Exporter agent.  | 
required  | 
  | 
  | 
TCP port for the JMX Prometheus Exporter.  | 
optional  | 
  | 
  | 
Path to the JMX Prometheus Exporter configuration file  | 
optional  | 
  | 
  | 
Path to the JMX Prometheus agent  | 
optional  | 
  | 
| Environment variable | Description | Required | Default value | 
|---|---|---|---|
  | 
Database name used for Meridian Core instance  | 
required  | 
-  | 
  | 
Username with access to the database  | 
required  | 
-  | 
  | 
Password for user with acccess to the database  | 
required  | 
-  | 
  | 
Host with the PostgreSQL server instance running  | 
required  | 
-  | 
  | 
PostgreSQL super user to initialize database schema specified in   | 
required  | 
-  | 
  | 
PostgreSQL super user password  | 
required  | 
-  | 
  | 
PostgreSQL server port  | 
optional  | 
  | 
  | 
Encryption for database communication  | 
optional  | 
  | 
  | 
PostgreSQL SSL factory for certificate validation  | 
optional  | 
  | 
  | 
Global database connection pool idle timeout  | 
optional  | 
  | 
  | 
Global database connection pool login timeout  | 
optional  | 
  | 
  | 
Global minimal connection pool size  | 
optional  | 
  | 
  | 
Global maximum connection pool size  | 
optional  | 
  | 
  | 
Global maximum connections  | 
optional  | 
  | 
| Environment variable | Description | Required | Default value | 
|---|---|---|---|
  | 
Used Timeseries storage strategy  | 
optional  | 
  | 
  | 
Store timeseries data by foreign source instead of the database node id  | 
optional  | 
  | 
  | 
Java RRD Strategy class  | 
optional  | 
  | 
  | 
Java RRD Interface library  | 
optional  | 
  | 
  | 
JRRD2 library path  | 
optional  | 
  | 
| Environment variable | Description | Required | Default value | 
|---|---|---|---|
  | 
Listen interface for SNMP Trapd  | 
optional  | 
  | 
  | 
Port to listen for SNMP traps  | 
optional  | 
  | 
  | 
Create new suspect event-based trap recipient for unknown devices.  | 
optional  | 
  | 
  | 
Preserve raw messages in SNMP traps.  | 
optional  | 
  | 
  | 
Set maximum thread size to process SNMP traps.  | 
optional  | 
  | 
  | 
Set maximum queue for SNMP trap processing.  | 
optional  | 
  | 
  | 
Set batch size for SNMP trap processing.  | 
optional  | 
  | 
  | 
Set batch processing interval in milliseconds.  | 
optional  | 
  | 
| Environment variable | Description | Required | Default value | 
|---|---|---|---|
  | 
Listen interface for Karaf shell  | 
optional  | 
  | 
  | 
SSH port for Karaf shell  | 
optional  | 
  | 
| Environment variable | Description | Required | Default value | 
|---|---|---|---|
  | 
Set Cassandra replication factor for the newts keyspace if Newts is used.  | 
optional  | 
  | 
  | 
A comma-separated list with Cassandra hosts for Newts  | 
optional  | 
  | 
  | 
Name of the keyspace used by Newts  | 
optional  | 
  | 
  | 
Cassandra server port  | 
optional  | 
  | 
  | 
Username with access to Cassandra  | 
optional  | 
  | 
  | 
Password for user with access to Cassandra  | 
optional  | 
  | 
  | 
Set this to the value of your local datacenter for the best performance  | 
optional  | 
  | 
Directory conventions
| Mountpoint | Description | 
|---|---|
  | 
Allows you to overwrite files relative to   | 
  | 
Directory with RRDTool/JRobin files and generated PDF reports sent to the file system.  | 
JMX Prometheus Exporter
java:
  agent:
    prom-jmx-exporter:
      startDelaySeconds: 0
      lowerCaseOutputName: true
      lowercaseOutputLabelNames: true
      autoExcludeObjectNameAttributes: true
      includeObjectNames:
        - "java.lang:*"
        - "OpenNMS:*"
        - "org.opennms.*:*"
        - "org.opennms.newts:name=ring-buffer*"
        - "org.opennms.newts:name=repository.samples-inserted*"
        - "org.opennms.core.ipc.rpc:*"
      excludeObjectNames:
        - "org.apache.camel:*"