BRIX On-Premises > BRIX On-Premises Enterprise > Install add-on components for BRIX > Install monitoring tools / Monitoring of databases

Monitoring of databases

DBSExporter is an add-on designed for monitoring PostgreSQL, MongoDB, RabbitMQ, Redis, and S3 storage databases.

The installation of the add-on consists of four steps:

  1. Download the Helm chart and configuration file.
  2. Create a configuration token to use MinIO metrics for Prometheus.
  3. Fill in the configuration file.
  4. Install the DBSExporter chart using Helm in the Kubernetes cluster.

Step 1: Download the Helm chart and configuration file

To install via the internet, obtain the values-dbsexporter.yaml configuration file by executing the following command:

helm repo add elma365 https://charts.elma365.tech
helm repo update
helm show values elma365/dbsexporter > values-dbsexporter.yaml

For offline installation without internet access

Step 2: Create a configuration token to use MinIO metrics for Prometheus

Create alias and send the command to generate a token by executing the following:

mc alias set my_alias http://minio.local accessKey secretKey
mc admin prometheus generate my_alias

Step 3: Fill in the configuration file

Fill in the configuration file to install DBSExporter

Configuring connection parameters to a private registry for installation in a closed environment without internet access

начало внимание

In DBSExporter it is possible to set up the connection of several databases both internal and external.

конец внимание

To do that, duplicate the parameters of block instances and set the connection parameters for each replica. For example:

instances:    
  - name: mongodb-1
    uri: "mongodb://mongodb-1:27017"
  - name: mongodb-2
    uri: "mongodb://mongodb-2:27017"

Step 4: Install the DBSExporter chart using Helm in the Kubernetes cluster

Execute the installation of the DBSExporter chart in namespace monitoring.

For online installation:

helm upgrade --install -n monitoring dbsexporter elma365/dbsexporter -f values-dbsexporter.yaml

For offline installation without internet access, navigate to the directory with the downloaded chart and execute the command:

helm upgrade --install dbsexporter ./dbsexporter -f values-dbsexporter.yaml -n monitoring