6.8.4 Log & Monitoring

Each node has several services, each of which outputs information to Log files. After installing a node in the home directory of the platform (for example, DGT-Matagami), a «dgt_clust» directory appears, in which the working files of the corresponding node are stored. Each cluster and each node have their own working directory with an internal logs catalog, for example,

«.../DGT-Matagami/dgt_clust/c1/dgt1/logs»:

If necessary, you can also connect an additional monitoring component based on Grafana/InfluxDb. The monitoring system extracts the information available to . To install it:

  • Go to the Grafana service initialization directory «.../DGT-Matagami/CORE/etc/Grafana» and make the necessary settings in «grafana.ini», such as user and password settings (use admin/admin by default)

  • Prior to installing and connecting a node (see 6.2), build and launch the Grafana service:

bash upDgtGrafana.sh
  • Run a node with an additional =IDB key:

bash upDgtCluster.sh -G -SC -IDB -CB openssl 1 1
  • Go to GRAFANA service (default port 3000)

http://[SERVER_IP]:3000

A typical output is shown in the figure below:

Grafana service uses the InfluxDB located in the «DGT-Matagami/Grafana/Grafana.db» directory. Database backup and restore is described in the InfluxDB system manual.

📖 READ MORE:

Last updated