Closed VegethB closed 4 months ago
@danielnelson Updated Comments with more info 👍😵.
I tried to run IPMIUtil outside of Telegraf, but on my system it is not working. After installing it complains that libeay32.dll is missing and if provided with a copy I get an error that the executable cannot be started properly.
I think the best way to proceed would probably be to add a wrapper script to run this from the exec
input.
I use Libeay32.dll from this version of openssl: openssl-1.0.0k-x64_86-win64.zip
@VegethB were you able to get this working using the exec
input plugin?
@sspaink Ok, I contacted the programmer of "IPMIUtils" and he told me that the output with the parameter "-c" is a CSV with delimiter '|' (because ',' gave problems on some values). Now, I tried to configure the data source as CSV but it is not working (I think the rows, columns and header are not clear to me or worse, the output is reverse).
On grafana it gives me the names of the headers (3rd line) but not the values, probably the configuration is wrong.
2nd problem, if I set the columns to skip (like 4 col. to skip), Telegraf crashes. If I don't set them up, it works.
@VegethB were you able to get this working?
@VegethB were you able to get this working?
Unfortunately, for work I had to move, so the server has been down for years now. At the moment, I remember setting Grafana and the whole ecosystem aside a few weeks after my last response in 2022. It is definitely my intention to resume this issue but it will be discussed in late summer or current summer.
However, I seem to remember that it also worked with 'exec' but gave problems with the csv output.
However, I seem to remember that it also worked with 'exec' but gave problems with the csv output.
If you could provide the CSV output in a non-screenshot we could help you parse it.
I don't really see us modifying the current plugin to parse a new format, so I'd prefer to help you get the CSV output working via the exec plugin.
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:
Obviously I changed the password and username of that command with the right ones.
System info:
Windows Server 2019 Stable Latest, Telegraf for windows latest stable (2020-09-07), IPMI = iLo2 HP ProLiant DL380 G6 ; IPMI v2.
Steps to reproduce:
Expected behavior:
Execution of the task using the commands for "IPMIUtil.exe" since it is the only free and similar official alternative to IPMITools for Windows.
Actual behavior:
Rightly use the command for linux IPMITool Instead of giving the possibility to use a custom command through an overide option that can be enabled.
Additional info:
I spent 2 days building IPMITool for Windows via Cygwin. The output .exe version seems to work but only from an external pc (not the pc itself where IPMI resides) for this reason I ask to add the compatibility with IPMIUtil which works even if run by the host itself: IPMITool.exe on host = (I want to re-specify that this error occurs only if IPMITool.exe is run on the same machine where IPMI / iLo2 resides)
IPMIUtil.exe on host = It is not the command I want to use but it is an example. The end result is to get all the statistics (such as the current consumed by each device or fan status or hdd states etc.)
http://ipmiutil.sourceforge.net/man.htm