Closed vintury closed 2 years ago
May be you have other solution for scraping metrics from idrac in prometheus format? May be you have idrac prometheus exporter?
Hello, thanks for reaching. We are aware of this issue and PR is raised and will be available in the main shortly. Will keep you posted.
actually prometheus with grafana got broken just recently and were in the process of addressing it.
https://github.com/dell/iDRAC-Telemetry-Reference-Tools/pull/103 PR#103 will resolve the this issue.
Hello. Thank you for fast response. You choose hard way for creating that utility I think. Maybe you have idrac prometheus exporter?
We have automated dashboards in Grafana with either Influx or the Prometheus. There was glitch with an earlier change of Prometheus automated dashboards, which broke. Fixed it now with the PR#103 merged into main. It'll be great if you can try out and let us know.
I still have the same problem:
~/iDRAC-Telemetry-Reference-Tools$ git pull
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 6 (delta 5), reused 2 (delta 2), pack-reused 0
Unpacking objects: 100% (6/6), 2.82 KiB | 262.00 KiB/s, done.
From https://github.com/dell/iDRAC-Telemetry-Reference-Tools
b03303d..bfc9976 main -> origin/main
Updating b03303d..bfc9976
Fast-forward
docker-compose-files/compose.sh | 4 +-
docker-compose-files/docker-compose.yml | 6 +--
docker-compose-files/initialize_grafana_influx_datasource.sh | 505 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------
docker-compose-files/initialize_grafana_prometheus_datasource.sh | 132 ------------------------------------------------
4 files changed, 324 insertions(+), 323 deletions(-)
delete mode 100755 docker-compose-files/initialize_grafana_prometheus_datasource.sh
~/iDRAC-Telemetry-Reference-Tools$ ./docker-compose-files/compose.sh setup --prometheus-test-db
Pass: Docker compose version is 2.10.0.
Cleaning up old containers for telemetry-reference-tools-grafana: 58ee7a1169aa
81560d255ddf
Stopping: 58ee7a1169aa
81560d255ddf
Removing: 58ee7a1169aa
81560d255ddf
Cleaning up old containers for prometheus: 4bd80986e703
a7b5f6216169
Stopping: 4bd80986e703
a7b5f6216169
Removing: 4bd80986e703
a7b5f6216169
[+] Running 4/4
⠿ Container prometheus Started 0.7s
⠿ Container telemetry-reference-tools-grafana Started 0.8s
⠿ Container idrac-telemetry-reference-tools-setup-prometheus-pump-1 Started 1.3s
⠿ Container idrac-telemetry-reference-tools-grafana-setup-influx-datasource-1 Started 1.5s
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
I see you didnt do the clean up steps in between the git pull and the setup of the --prometheus-test-db.
Can you try cleaning up all the containers by stopping them and removing? like these might help to remove stale containers: docker kill and docker rm of all the containers, (can be done with docker rm -vf $(docker ps -aq);docker rmi -f $(docker images -aq)) And regular clean up process steps are: 1) ./docker-compose-files/compose.sh stop --prometheus-test-db 2) docker container prune -f;docker volume prune -f; 3) git clean -dfx.
I create new instance. Now I see empty dashboard:
ubuntu@ip-172-27-1-238:~$ git clone https://github.com/dell/iDRAC-Telemetry-Reference-Tools/
Cloning into 'iDRAC-Telemetry-Reference-Tools'...
remote: Enumerating objects: 795, done.
remote: Counting objects: 100% (250/250), done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 795 (delta 176), reused 154 (delta 150), pack-reused 545
Receiving objects: 100% (795/795), 7.55 MiB | 22.73 MiB/s, done.
Resolving deltas: 100% (410/410), done.
ubuntu@ip-172-27-1-238:~$ cd iDRAC-Telemetry-Reference-Tools/
ubuntu@ip-172-27-1-238:~/iDRAC-Telemetry-Reference-Tools$ ./docker-compose-files/compose.sh setup --prometheus-test-db
Pass: Docker compose version is 2.10.1.
[+] Running 23/25
⠿ grafana Pulled 16.9s
⠿ df9b9388f04a Pull complete 0.8s
⠿ 8a2d7b6c89bf Pull complete 1.1s
⠿ 290368f4e636 Pull complete 2.6s
⠿ 34f09fc247ac Pull complete 2.8s
⠿ f58a7c0e6b43 Pull complete 4.7s
⠿ a5e39be1ca05 Pull complete 14.5s
⠿ 9310026c8fc6 Pull complete 14.6s
⠿ f7053e076105 Pull complete 14.7s
⠿ dd166239212b Pull complete 14.8s
⠿ setup-prometheus-pump Error 1.5s
⠿ prometheus Pulled 16.6s
⠿ 50e8d59317eb Pull complete 2.5s
⠿ b6c3b3e34d73 Pull complete 4.1s
⠿ a2e16c7047f9 Pull complete 7.6s
⠿ a96a052cd33c Pull complete 12.1s
⠿ e008aa9ce341 Pull complete 12.4s
⠿ 4691b2e44244 Pull complete 12.6s
⠿ 9661a7a702f8 Pull complete 13.0s
⠿ 586ae72743cc Pull complete 13.3s
⠿ 21cdbc93d370 Pull complete 13.6s
⠿ 9285c2ca8bb2 Pull complete 13.8s
⠿ 75dc67f7e388 Pull complete 14.1s
⠿ 3dfa2b58407d Pull complete 14.4s
⠿ grafana-setup-influx-datasource Error 1.5s
[+] Building 3.5s (8/8) FINISHED
=> [idrac-telemetry-reference-tools/setup:latest internal] load build definition from Dockerfile.setup 0.1s
=> => transferring dockerfile: 102B 0.0s
=> [idrac-telemetry-reference-tools/setup:latest internal] load .dockerignore 0.2s
=> => transferring context: 87B 0.0s
=> [idrac-telemetry-reference-tools/setupprometheus:latest internal] load build definition from Dockerfile.setup 0.1s
=> => transferring dockerfile: 102B 0.0s
=> [idrac-telemetry-reference-tools/setupprometheus:latest internal] load .dockerignore 0.1s
=> => transferring context: 87B 0.0s
=> [idrac-telemetry-reference-tools/setupprometheus:latest internal] load metadata for docker.io/library/alpine:latest 1.4s
=> [idrac-telemetry-reference-tools/setupprometheus:latest 1/2] FROM docker.io/library/alpine:latest@sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 0.5s
=> => resolve docker.io/library/alpine:latest@sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 0.0s
=> => sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870 528B / 528B 0.0s
=> => sha256:9c6f0724472873bb50a2ae67a9e7adcb57673a183cea8b06eb778dca859181b5 1.47kB / 1.47kB 0.0s
=> => sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49 2.81MB / 2.81MB 0.2s
=> => sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 1.64kB / 1.64kB 0.0s
=> => extracting sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49 0.2s
=> [idrac-telemetry-reference-tools/setupprometheus:latest 2/2] RUN apk --no-cache add curl jq uuidgen 1.1s
=> [idrac-telemetry-reference-tools/setupprometheus:latest] exporting to image 0.2s
=> => exporting layers 0.2s
=> => writing image sha256:96c7bbebe4aa9c091c1eee6f957f7111797c426237fc2ae707d26c81a877f90f 0.0s
=> => naming to docker.io/idrac-telemetry-reference-tools/setup:latest 0.0s
=> => naming to docker.io/idrac-telemetry-reference-tools/setupprometheus:latest 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 7/7
⠿ Network idrac-telemetry-reference-tools_host-bridge-net Created 0.1s
⠿ Volume "idrac-telemetry-reference-tools_prometheus-data" Created 0.0s
⠿ Volume "idrac-telemetry-reference-tools_grafana-storage" Created 0.0s
⠿ Container telemetry-reference-tools-grafana Started 1.3s
⠿ Container prometheus Started 1.3s
⠿ Container idrac-telemetry-reference-tools-setup-prometheus-pump-1 Started 2.4s
⠿ Container idrac-telemetry-reference-tools-grafana-setup-influx-datasource-1 Started 2.3s
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish
GRAFANA_PROM_DASHBOARD_CREATED=1
grafana container setup done for datasource and dashboards. Shutting down.
[+] Running 4/4
⠿ Container idrac-telemetry-reference-tools-setup-prometheus-pump-1 Stopped 0.0s
⠿ Container idrac-telemetry-reference-tools-grafana-setup-influx-datasource-1 Stopped 0.0s
⠿ Container prometheus Stopped 0.2s
⠿ Container telemetry-reference-tools-grafana Stopped 0.3s
f3c76ef6d31a
9a25bacc1142
ubuntu@ip-172-27-1-238:~/iDRAC-Telemetry-Reference-Tools$ ./docker-compose-files/compose.sh start --prometheus-test-db
Pass: Docker compose version is 2.10.1.
prometheus variable is: 1
Set up environment file in /home/ubuntu/iDRAC-Telemetry-Reference-Tools/.env
To run manually, run the following command line:
docker-compose --project-directory /home/ubuntu/iDRAC-Telemetry-Reference-Tools -f /home/ubuntu/iDRAC-Telemetry-Reference-Tools/docker-compose-files/docker-compose.yml --profile core --profile prometheus-test-db up -d
[+] Running 23/27
⠿ prometheus-pump-withtestserver Error 1.5s
⠿ mysqldb Pulled 32.0s
⠿ 918cd2ecf4de Pull complete 11.5s
⠿ 0e09c69f9ec2 Pull complete 11.9s
⠿ 505d6cfca930 Pull complete 12.1s
⠿ 9df52933885b Pull complete 13.0s
⠿ fe0dd9d6941f Pull complete 13.1s
⠿ 3a0c2d2972a2 Pull complete 13.2s
⠿ d65c9083bf4b Pull complete 17.7s
⠿ bc84d1b513c5 Pull complete 18.1s
⠿ 98f7a3e65d5c Pull complete 29.4s
⠿ aaf95e1eec92 Pull complete 29.7s
⠿ 3fb99ba1c589 Pull complete 29.9s
⠿ redfishread Error 1.5s
⠿ activemq Pulled 35.5s
⠿ 05d1a5232b46 Pull complete 10.3s
⠿ 5cee356eda6b Pull complete 12.4s
⠿ 89d3385f0fd3 Pull complete 12.9s
⠿ 65dd87f6620b Pull complete 13.4s
⠿ 78a183a01190 Pull complete 13.5s
⠿ 1a4499c85f97 Pull complete 13.6s
⠿ 2c9d39b4bfc1 Pull complete 31.4s
⠿ 1b1cec2222c9 Pull complete 31.4s
⠿ 3d16996d92ad Pull complete 32.3s
⠿ aa7d1fb483cc Pull complete 33.8s
⠿ configui Error 1.5s
⠿ dbdiscauth Error 1.5s
[+] Building 127.8s (73/73) FINISHED
=> [idrac-telemetry-reference-tools/prometheuspump:latest internal] load build definition from Dockerfile 0.3s
=> => transferring dockerfile: 1.16kB 0.2s
=> [idrac-telemetry-reference-tools/prometheuspump:latest internal] load .dockerignore 0.2s
=> => transferring context: 87B 0.2s
=> [idrac-telemetry-reference-tools/configui:latest internal] load build definition from Dockerfile.configui 0.2s
=> => transferring dockerfile: 1.20kB 0.2s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest internal] load build definition from Dockerfile 0.3s
=> => transferring dockerfile: 1.16kB 0.3s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest internal] load .dockerignore 0.3s
=> => transferring context: 87B 0.2s
=> [idrac-telemetry-reference-tools/configui:latest internal] load .dockerignore 0.3s
=> => transferring context: 87B 0.2s
=> [idrac-telemetry-reference-tools/redfishread:latest internal] load build definition from Dockerfile 0.3s
=> => transferring dockerfile: 1.16kB 0.1s
=> [idrac-telemetry-reference-tools/redfishread:latest internal] load .dockerignore 0.2s
=> => transferring context: 87B 0.1s
=> [idrac-telemetry-reference-tools/prometheuspump:latest internal] load metadata for docker.io/library/golang:1.17 1.6s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 1/13] FROM docker.io/library/golang:1.17@sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18 29.4s
=> => resolve docker.io/library/golang:1.17@sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18 0.0s
=> => sha256:55636cf1983628109e569690596b85077f45aca810a77904e8afad48b49aa500 1.80kB / 1.80kB 0.0s
=> => sha256:d836772a1c1f9c4b1f280fb2a98ace30a4c4c87370f89aa092b35dfd9556278a 55.00MB / 55.00MB 1.2s
=> => sha256:66a9e63c657ad881997f5165c0826be395bfc064415876b9fbaae74bcb5dc721 5.16MB / 5.16MB 0.6s
=> => sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18 2.35kB / 2.35kB 0.0s
=> => sha256:742df529b073e7d1e213702a6cca40c32f3f5068125988de249416ba0abee517 7.12kB / 7.12kB 0.0s
=> => sha256:d1989b6e74cfdda1591b9dd23be47c5caeb002b7a151379361ec0c3f0e6d0e52 10.88MB / 10.88MB 0.9s
=> => sha256:c28818711e1ed38df107014a20127b41491b224d7aed8aa7066b55552d9600d2 54.58MB / 54.58MB 2.9s
=> => sha256:9d6246ba248cc80872dc2995f9080ef76305b540968dadb096b75f2e2146a38a 85.90MB / 85.90MB 4.9s
=> => sha256:21d43f0d73c2979514706af3d892f631b75d5c2d56aebfac0172e5a4e934b447 135.06MB / 135.06MB 6.1s
=> => extracting sha256:d836772a1c1f9c4b1f280fb2a98ace30a4c4c87370f89aa092b35dfd9556278a 6.4s
=> => sha256:d8a1c5873f408d3f5a8d8d73c6b9a3d77818bab0b26142a493909ea8c4d0c020 154B / 154B 5.1s
=> => extracting sha256:66a9e63c657ad881997f5165c0826be395bfc064415876b9fbaae74bcb5dc721 0.5s
=> => extracting sha256:d1989b6e74cfdda1591b9dd23be47c5caeb002b7a151379361ec0c3f0e6d0e52 0.5s
=> => extracting sha256:c28818711e1ed38df107014a20127b41491b224d7aed8aa7066b55552d9600d2 4.4s
=> => extracting sha256:9d6246ba248cc80872dc2995f9080ef76305b540968dadb096b75f2e2146a38a 4.7s
=> => extracting sha256:21d43f0d73c2979514706af3d892f631b75d5c2d56aebfac0172e5a4e934b447 9.6s
=> => extracting sha256:d8a1c5873f408d3f5a8d8d73c6b9a3d77818bab0b26142a493909ea8c4d0c020 0.0s
=> [idrac-telemetry-reference-tools/redfishread:latest internal] load build context 0.1s
=> => transferring context: 105.65kB 0.1s
=> [idrac-telemetry-reference-tools/prometheuspump:latest internal] load build context 0.2s
=> => transferring context: 97.50kB 0.1s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest internal] load build context 0.2s
=> => transferring context: 98.32kB 0.1s
=> [idrac-telemetry-reference-tools/configui:latest internal] load build context 0.2s
=> => transferring context: 109.25kB 0.2s
=> [idrac-telemetry-reference-tools/configui:latest builder 2/13] WORKDIR /app 0.5s
=> [idrac-telemetry-reference-tools/configui:latest builder 3/13] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade 33.8s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 3/13] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade 33.9s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 3/13] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade 33.8s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 3/13] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade 33.8s
=> [idrac-telemetry-reference-tools/configui:latest builder 4/13] WORKDIR /build 0.3s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 4/13] WORKDIR /build 0.3s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 4/13] WORKDIR /build 0.2s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 4/13] WORKDIR /build 0.2s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 5/13] RUN (getent group 1000 && (echo groupdel by-id 1000; groupdel $(getent group 1000 | cut -d: -f1))) ||: 1.5s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 5/13] RUN (getent group 1000 && (echo groupdel by-id 1000; groupdel $(getent group 1000 | cut -d: -f1))) ||: 1.3s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 5/13] RUN (getent group 1000 && (echo groupdel by-id 1000; groupdel $(getent group 1000 | cut -d: -f1))) ||: 1.4s
=> [idrac-telemetry-reference-tools/configui:latest builder 5/13] RUN (getent group 1000 && (echo groupdel by-id 1000; groupdel $(getent group 1000 | cut -d: -f1))) ||: 1.3s
=> [idrac-telemetry-reference-tools/configui:latest builder 6/13] RUN (getent group telemetry && (echo groupdel telemetry; groupdel telemetry)) ||: 1.3s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 6/13] RUN (getent group telemetry && (echo groupdel telemetry; groupdel telemetry)) ||: 1.5s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 6/13] RUN (getent group telemetry && (echo groupdel telemetry; groupdel telemetry)) ||: 1.3s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 6/13] RUN (getent group telemetry && (echo groupdel telemetry; groupdel telemetry)) ||: 1.4s
=> [idrac-telemetry-reference-tools/configui:latest builder 7/13] RUN (getent passwd telemetry && (echo userdel telemetry; userdel -f telemetry)) ||: 1.4s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 7/13] RUN (getent passwd telemetry && (echo userdel telemetry; userdel -f telemetry)) ||: 1.3s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 7/13] RUN (getent passwd telemetry && (echo userdel telemetry; userdel -f telemetry)) ||: 1.4s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 7/13] RUN (getent passwd telemetry && (echo userdel telemetry; userdel -f telemetry)) ||: 1.4s
=> [idrac-telemetry-reference-tools/configui:latest builder 8/13] RUN groupadd -g 1000 telemetry 1.5s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 8/13] RUN groupadd -g 1000 telemetry 1.2s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 8/13] RUN groupadd -g 1000 telemetry 1.6s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 8/13] RUN groupadd -g 1000 telemetry 1.5s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 9/13] RUN useradd -l -u 1000 -g telemetry telemetry 1.4s
=> [idrac-telemetry-reference-tools/configui:latest builder 9/13] RUN useradd -l -u 1000 -g telemetry telemetry 1.4s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 9/13] RUN useradd -l -u 1000 -g telemetry telemetry 1.4s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 9/13] RUN useradd -l -u 1000 -g telemetry telemetry 1.5s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 10/13] COPY internal /build/internal 0.3s
=> [idrac-telemetry-reference-tools/configui:latest builder 10/13] COPY internal /build/internal 0.3s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 11/13] COPY cmd/dbdiscauth /build/cmd/dbdiscauth 0.2s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 10/13] COPY internal /build/internal 0.4s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 12/13] COPY go.* /build/ 0.3s
=> [idrac-telemetry-reference-tools/configui:latest builder 11/13] COPY cmd/configui /build/cmd/configui 0.2s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 10/13] COPY internal /build/internal 0.4s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest builder 13/13] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o app ./cmd/dbdiscauth 25.6s
=> [idrac-telemetry-reference-tools/configui:latest builder 12/13] COPY go.* /build/ 0.2s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 11/13] COPY cmd/prometheuspump /build/cmd/prometheuspump 0.2s
=> [idrac-telemetry-reference-tools/configui:latest builder 13/13] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o app ./cmd/configui 54.3s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 12/13] COPY go.* /build/ 0.2s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 11/13] COPY cmd/redfishread /build/cmd/redfishread 0.2s
=> [idrac-telemetry-reference-tools/prometheuspump:latest builder 13/13] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o app ./cmd/prometheuspump 45.3s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 12/13] COPY go.* /build/ 0.1s
=> [idrac-telemetry-reference-tools/redfishread:latest builder 13/13] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o app ./cmd/redfishread 36.7s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest stage-1 1/3] COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt 0.0s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest stage-1 2/3] COPY --from=builder /etc/passwd /etc/group /etc/ 0.1s
=> [idrac-telemetry-reference-tools/dbdiscauth:latest stage-1 3/3] COPY --from=builder /build/app /app 0.1s
=> [idrac-telemetry-reference-tools/configui:latest] exporting to image 0.5s
=> => exporting layers 0.1s
=> => writing image sha256:c3186b541daf8ce9a14f36012a38050b0a2f6c00eeef073bf6c45e8f5a14c836 0.0s
=> => naming to docker.io/idrac-telemetry-reference-tools/dbdiscauth:latest 0.0s
=> => writing image sha256:5592aa3fd355ecb560d50ada43c7f0899df8dbcde52263f9da1647840e76dcf3 0.0s
=> => naming to docker.io/idrac-telemetry-reference-tools/redfishread:latest 0.0s
=> => writing image sha256:944c9060345760899f118d1e6463099d3c7c54454ed2039b715361a1189a4393 0.0s
=> => naming to docker.io/idrac-telemetry-reference-tools/prometheuspump:latest 0.0s
=> => writing image sha256:c85a13ef287d37d68628c6907249f678ebc6a5c41c2814f43868dcd8c51bcf1c 0.0s
=> => naming to docker.io/idrac-telemetry-reference-tools/configui:latest 0.0s
=> CACHED [idrac-telemetry-reference-tools/redfishread:latest stage-1 1/3] COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt 0.0s
=> CACHED [idrac-telemetry-reference-tools/redfishread:latest stage-1 2/3] COPY --from=builder /etc/passwd /etc/group /etc/ 0.0s
=> [idrac-telemetry-reference-tools/redfishread:latest stage-1 3/3] COPY --from=builder /build/app /app 0.1s
=> CACHED [idrac-telemetry-reference-tools/prometheuspump:latest stage-1 1/3] COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt 0.0s
=> CACHED [idrac-telemetry-reference-tools/prometheuspump:latest stage-1 2/3] COPY --from=builder /etc/passwd /etc/group /etc/ 0.0s
=> [idrac-telemetry-reference-tools/prometheuspump:latest stage-1 3/3] COPY --from=builder /build/app /app 0.1s
=> CACHED [idrac-telemetry-reference-tools/configui:latest stage-1 1/4] COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt 0.0s
=> CACHED [idrac-telemetry-reference-tools/configui:latest stage-1 2/4] COPY --from=builder /etc/passwd /etc/group /etc/ 0.0s
=> [idrac-telemetry-reference-tools/configui:latest stage-1 3/4] COPY --from=builder /build/app /app 0.1s
=> [idrac-telemetry-reference-tools/configui:latest stage-1 4/4] COPY cmd/configui/index.html / 0.1s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 9/9
⠿ Volume "idrac-telemetry-reference-tools_mysqldb-volume" Created 0.0s
⠿ Container mysqldb Started 2.6s
⠿ Container activemq Started 2.7s
⠿ Container prometheus Started 2.7s
⠿ Container telemetry-reference-tools-grafana Started 2.7s
⠿ Container idrac-telemetry-reference-tools-dbdiscauth-1 Started 4.0s
⠿ Container idrac-telemetry-reference-tools-redfishread-1 Started 5.1s
⠿ Container idrac-telemetry-reference-tools-configui-1 Started 5.0s
⠿ Container prometheus-ingester Started 5.1s
ubuntu@ip-172-27-1-238:~/iDRAC-Telemetry-Reference-Tools$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ca7deee0064d idrac-telemetry-reference-tools/prometheuspump:latest "/app" 10 seconds ago Up 4 seconds 0.0.0.0:2112->2112/tcp, :::2112->2112/tcp prometheus-ingester
9e0aad9af966 idrac-telemetry-reference-tools/dbdiscauth:latest "/app" 10 seconds ago Up 5 seconds idrac-telemetry-reference-tools-dbdiscauth-1
3948cd3dad08 idrac-telemetry-reference-tools/redfishread:latest "/app" 10 seconds ago Up 4 seconds idrac-telemetry-reference-tools-redfishread-1
32d78b52531f idrac-telemetry-reference-tools/configui:latest "/app" 10 seconds ago Up 4 seconds 0.0.0.0:8080->8082/tcp, :::8080->8082/tcp idrac-telemetry-reference-tools-configui-1
065291ac8366 grafana/grafana:9.0.1 "/run.sh" 10 seconds ago Up 7 seconds 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp telemetry-reference-tools-grafana
4690d84d66b3 mysql:latest "docker-entrypoint.s…" 10 seconds ago Up 7 seconds 3306/tcp, 33060/tcp mysqldb
55000a1dbec1 rmohr/activemq:latest "/bin/sh -c 'bin/act…" 10 seconds ago Up 7 seconds 1883/tcp, 5672/tcp, 61613-61614/tcp, 61616/tcp, 0.0.0.0:8161->8161/tcp, :::8161->8161/tcp activemq
f60a762f7fd3 prom/prometheus:v2.36.0 "/bin/prometheus --c…" 10 seconds ago Up 7 seconds 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp prometheus
Nice, that you moved forward. Data might not be seen in the dashboard because of being old. You could try with selecting bigger time range like 30days or even more. This can happen due iDRAC system time not being current. date on iDRAC shell/iDRAC settings of GUI will tell the time, or the time on the metric reports from iDRAC will tell the time of timeseries data(https://100.x.x.x/redfish/v1/TelemetryService/MetricReports/PowerMetrics).
I'm talking about the fact that there are no metrics visualization dashboards in grafana. I have single dashboard, and it shows only one metric. See screenshot upper. I expected that after the completion of all operations, in the grafana there will be a dashboard displaying all the metrics.
I found one dashboard with idrac metrics on grafana web site, but them incompatible with current solution. I'm about: https://grafana.com/grafana/dashboards/12106-idrac-host-stats/
Currently the Prometheus-Grafana workflow provides one sample dashboard named "PowerMetricsPrometheusDashboard" having one metric PowerMetrics_SystemInputPower. There are 3 other sample dashboards for the Influx-Grafana workflow. Users are encouraged to create their own dashboards referring to these sample dashboards. reference video: https://www.youtube.com/watch?v=EBpBKBEidq8
Manually dashboards can be created for all the 234 iDRAC telemetry metrics.
This issue opened on GitHub was for prometheus not working, which is fixed, so going to close this issue. For further assistance with creation of dashboards, email can be sent to idractelemetryteam@dell.com.
Thank you for your help.
Hello. Configuration setup could not complete for prometheus. There are many messages in the configuration of the installation process and it does not stop. Last message: "Waiting for grafana container setup Prometheus DATA_SOURCE & DASHBOARD to finish"
Setup process:
I created DATA_SOURCE manually, but it not solve message flooding.
About my server:
Expected behavior: the configuration process ( ./compose.sh setup --prometheus-test-db) will complete and after it I can start the process ( ./compose.sh start).