From 422353f64067d0d5a68fe2ac0465d779b26734d2 Mon Sep 17 00:00:00 2001 From: Anry Das Date: Tue, 18 Feb 2025 10:55:17 +0200 Subject: [PATCH 1/3] Updated README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b7495ed..4697a5a 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ There are some embedded metrics in the Exporter: - Chassis temperature - CPU temperature -The Default Application config is (no metrics are configured): +Default config stored in `./configs/config.json` file. To change it the `app_config.CONFIG_METRICS_FILE_NAME` variable need to be changed. + +The Default Application config is (no custom metrics are configured): ```json { "monitor": { -- 2.47.1 From a75840ea8297ec446ed4296727e7509ffae6dc82 Mon Sep 17 00:00:00 2001 From: Anry Das Date: Tue, 18 Feb 2025 10:59:48 +0200 Subject: [PATCH 2/3] Updated README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4697a5a..dfe6852 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ In application directory: python ./main.py ``` -##### System service (preferred option) +#### System service (preferred option) Prepare the [dasExporter.service](dasExporter.service) file. Then launch commands: ```shell sudo ln -s "$( cd -- $(dirname $0) >/dev/null 2>&1 ; pwd -P )/dasExporter.service" /etc/systemd/system/dasExporter.service @@ -218,11 +218,11 @@ sudo systemctl daemon-reload sudo systemctl start dasExporter sudo systemctl enable dasExporter ``` -To view service status use `sudo systemctl status dasExporter` -To restart the service use `sudo systemctl restart dasExporter` -To stop the service use `sudo systemctl stop dasExporter` +* `sudo systemctl status dasExporter` - to view service status use +* `sudo systemctl restart dasExporter` - to restart the service use +* `sudo systemctl stop dasExporter` - to stop the service use -##### Docker application +#### Docker application Use provided [docker-compose.yaml](docker-compose.yaml) and [Dockerfile](Dockerfile) files to launch Exporter in docker container. **_Make sure you provided all mounts you need to be monitored in `volume` section in the `docker-compose.yaml` file and made according changes in [Disc Metrics Configuration](#DiscMetrics)._** -- 2.47.1 From 6254b1809aa0b8c309624a959422fcdc6849f737 Mon Sep 17 00:00:00 2001 From: Anry Das Date: Tue, 18 Feb 2025 12:30:13 +0200 Subject: [PATCH 3/3] Updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dfe6852..00165f0 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ python ./main.py #### System service (preferred option) Prepare the [dasExporter.service](dasExporter.service) file. Then launch commands: ```shell -sudo ln -s "$( cd -- $(dirname $0) >/dev/null 2>&1 ; pwd -P )/dasExporter.service" /etc/systemd/system/dasExporter.service +sudo ln -s "$( pwd -P )/dasExporter.service" /etc/systemd/system/dasExporter.service sudo systemctl daemon-reload sudo systemctl start dasExporter sudo systemctl enable dasExporter -- 2.47.1