-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timestream plugin failing to write with empty dimensions from Redfish input plugin #8470
Comments
@peterulsteen This all looks like a error on the Timestream plugin? If you output to even @piotrwest Do you have any insight on this? |
@sjwang90 That's correct. All the redfish metrics are reading correctly with no |
Hi @peterulsteen, as I understand you are trying to ingest data to Amazon Timestream with empty dimensions (InfluxDB tags). You mentioned that when you populate I would suggest using a processor plugin (for example: https:/influxdata/telegraf/tree/master/plugins/processors/regex ) to replace empty values with something like “none” or “empty”. Please note that there are other Timestream Service limits. Check this link for details: https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html @sjwang90 – on a side note - are empty tag values valid? Linking related issue: #2404 |
To drop tags before it hits the output you can configure the names in Empty tag values should be valid. I haven't seen any issues arise with that in awhile. |
I have now tested this on 13 Dell servers (mostly R630's and R640's except for the four C6420 nodes). This is working on all 6 Dell servers running iDRAC 8, but does NOT work with the 7 Dell servers with iDRAC 9. The empty tags do not appear at all when printing the output to stdout or to a file. I'm only seeing this warning message when outputs.timestream attempts to write With this information, does this point to an issue between inputs.redfish and Dell iDRAC 9? |
Wondering if this is still an issue? Catching up on this issue, it reads that timestream does not accept empty tags. Your metrics do not show up as empty, when printed to stdout, I assume using the If it is still an issue, can you reproduce on the latest telegraf, and provide the metrics generated using the Thanks! |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Forums or provide additional details in this issue and reqeust that it be re-opened. Thank you! |
Relevant telegraf.conf:
System info:
Telegraf agent:
Telegraf 1.16.2 in telegraf:latest official Docker image
Docker Desktop Community (Windows) 2.5.0.1
WSL2 Ubuntu 20.04
Windows 10
Redfish server:
Dell PowerEdge C6420
iDRAC 9 with firmware 4.22.00.53 (latest)
Docker
Docker image:
telegraf:latest
Steps to reproduce:
Expected behavior:
Telegraf reading temps, fans, wattages, and voltages from Dell's implementation of Redfish REST API, then writing them to AWS Timestream.
Actual behavior:
Telegraf is reading from Redfish, but the Timestream plugin is throwing the below error for each metric, and thus not writing:
Those dimensions are, respectively,
datacenter
,row
,rack
, androom
. All of these are part of the location struct in the Redfish plugin. If I populate those fields in iDRAC, I then get "1 validation error(s) found" withrow
,rack
, androom
populated properly, but withdatacenter
still an empty string.Furthermore, this exact telegraf.conf is working just fine with a Dell R630 running iDRAC 8 firmware version 2.75.75.75 with or without the
datacenter
,row
,rack
, androom
fields populated in iDRAC.Additional info:
Below is typical output running the above configuration but with the Printer processor plugin enabled:
Any help or guidance will be greatly appreciated! Please let me know if more details are need.
The text was updated successfully, but these errors were encountered: