dell / iDRAC-Telemetry-Reference-Tools

Reference toolset for PowerEdge telemetry metric collection and integration with analytics and visualization solutions.
https://github.com/dell/iDRAC-Telemetry-Reference-Tools
Apache License 2.0
29 stars 20 forks source link

gafana get telemetry data from influxdb error:influxDB:Bad Request #108

Closed huazhou007 closed 1 year ago

huazhou007 commented 1 year ago

gafana get telemetry data from influxdb error:influxDB:Bad Request SO influxdb username and password is? Could you tell me!

image

SailM23 commented 1 year ago

To ease the usage of the reference tools, there is no need to add the datasource and create dashboard in Grafana. We have provided the pre-configured automated dashboards for both InfluxDB as well as prometheus to visualize the telemetry data. Details are in the whitepaper and YouTube video at below links: https://dl.dell.com/content/manual3687441-idrac9-telemetry-reference-tools-data-visualization.pdf?language=en-us https://www.youtube.com/watch?v=EBpBKBEidq8

Other than pre-configured automated dashboards, new configuration could be done by adding the datasources and the resolution for the above 'InfluxDB Error: Bad Request' error is with User:admin and Password:'token shown by DOCKER_INFLUXDB_INIT_ADMIN_TOKEN'

cat iDRAC-Telemetry-Reference-Tools/.env USER_ID=2005 GROUP_ID=2005 DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=5fcb190e-f129-4430-8a2f-28d6e0bf8165 ...

SailM23 commented 1 year ago

If the above works for you, this ticket could be closed.

huazhou007 commented 1 year ago

I try this but this error again,could you help my teams or email is hua_zhou1@dell.com image

image image image

SailM23 commented 1 year ago

Had a call with @huazhou007 and provided pointers. Datasource got added successfully (using DOCKER_INFLUXDB_INIT_ADMIN_TOKEN) and 3 buckets seen, above issue with datsource is resolved. But there is no data in the dashboards because time of idrac is not in sync with time of the reference tools. idrac time future somewhere around 19:05 and docker tools ~2pm. Time needs to be fixed to see the data in the automated dashboards/configured dashboards.

SailM23 commented 1 year ago

I chat with @huazhou007 and helped with seeing the data in automated dashboards (powermetrics) and also add the influxdb in the grafana datasource, successfully added 3 buckets. This ticket can be closed and open others if stuck with any other issue.

huazhou007 commented 1 year ago

@SailM23 You are very patienceļ¼ŒThanks a lot!