Additional Question: After starting HWInfo the PromDapterSvc wont work until open "Sensors" manually. Are there any settings or tweaks i'm missing?
No tweaks, the Sensors need to be started, only then HWiNFO is reading sensor data.
Additional Question: After starting HWInfo the PromDapterSvc wont work until open "Sensors" manually. Are there any settings or tweaks i'm missing?
Would be awfully nice if someone put together a basic guide on how to get any of this working.... I've got grafana, prometheus, promdapter, and hwinfo installed with shared memory support on... cannot figure out how to make any of it work together, but I have no metrics appearing in prometheus?
I've tried to set it up numerous times over the past few months and im getting nowhere
Much appreciated, I think the part I was missing was editing the Prometheus config to scrape localhost:10445
On to figuring out how to add metrics, I'm good with regex, but as you said earlier in the thread, its a pita.. I'm sure I'll figure it out eventually
Thanks for this!
Edit; would i need to edit the json config in order to add values aswell as a regex to match?
Hi.
Thanks for the guide - I've managed to set up a dashboard which monitors 3 machines, individually showing the power draw of each machines GPU's, as well as the total power draw of them all combined. How can I calculate the total KWH? I've tried messing around with some transform fields but the numbers seem insane.
TIA
Just note that summing of CPU and GPU power won't tell you the total system power as there are several other voltage/power rails which cannot be monitored.
Thanks for this..! I'll give it a goSorry for late reply. You can only calculate the estimated kWh based on some average over interval - or simpler by current values.
So you take the current power usage in Watts and divide it by 1000 (to get the kW). Then if you run that for an hour, there's your kWh for that specific load.
Daily kWh you get by multiplying then with 24 and yearly estimate kWh multiplaying that one with 365. So for my current three systems the formula for CPU + GPU usage is as following:
(sum(hwi_cpu_package_power_w) + sum(hwi_gpu_power_w))*24*365/1000
Then if you multiply that with your energy costs per kWH, you get the cost estimate graph from that. I'm not sure if I included that in the initial Grafana dashboard example that was downloadable. I can export my current one if that one was outdated.
Yep, I appreciate that - just wanting to get a baseline usage.. they are all render servers so the 3090's are the by far the bulk of the power draw.Just note that summing of CPU and GPU power won't tell you the total system power as there are several other voltage/power rails which cannot be monitored.
Hi! First off, thanks for the PromDapter, its great!
It looks like all temperature sensor values broke. It worked fine for me with HWiNFO 7.16, but not anymore with HWiNFO 7.22-4731.
The metrics are mangled, and Prometheus is unable to scrape with the error "help text is not a valid utf8 string"
Example of some metrics (all the temps are broken like this):
# HELP hwi_core_max_âc Core Max °C - CPU [#0]: Intel Core i7-12700KF: DTS
hwi_core_max_âc{unit="°C",sensor_type="SENSOR_TYPE_TEMP",sensor="Core Max",source="CPU [#0]: Intel Core i7-12700KF: DTS",host="mycomputer"} 35
# HELP hwi_cpu_âc CPU °C - GIGABYTE Z690 GAMING X DDR4 (ITE IT8689E)
hwi_cpu_âc{unit="°C",sensor_type="SENSOR_TYPE_TEMP",sensor="CPU",source="GIGABYTE Z690 GAMING X DDR4 (ITE IT8689E)",host="mycomputer"} 35
# HELP hwi_cpu_ia_cores_âc CPU IA Cores °C - CPU [#0]: Intel Core i7-12700KF: Enhanced
hwi_cpu_ia_cores_âc{unit="°C",sensor_type="SENSOR_TYPE_TEMP",sensor="CPU IA Cores",source="CPU [#0]: Intel Core i7-12700KF: Enhanced",host="mycomputer"} 36
# HELP hwi_cpu_package_âc CPU Package °C - (multiple sources)
hwi_cpu_package_âc{unit="°C",sensor_type="SENSOR_TYPE_TEMP",sensor="CPU Package",source="CPU [#0]: Intel Core i7-12700KF: DTS",host="mycomputer"} 35
hwi_cpu_package_âc{unit="°C",sensor_type="SENSOR_TYPE_TEMP",sensor="CPU Package",source="CPU [#0]: Intel Core i7-12700KF: Enhanced",host="mycomputer"} 36
I would like to do that too, how do I have to edit the Prometheusmapping.yaml to include my psu metric? And, more broadly, how can I manage to add every sensor I wish to the config? I don't know the value name that matches a certain sensor like (?<Entity>CPU) for cpu sensor, how do I extract that? Thank youTrue. On my system I have sources for PSU level (current load on mostly idle 142W) and the smart socket (around same time load 162W). So there's 10-20W of energy usage somewhere between socket and PSU reporting.
# Octo
- '(?<Entity>Aquacomputer_Octo) (?<MetricName>Temperature 1)'
# Octo
- '(?<Entity>Aquacomputer Octo) (?<MetricName>Temperature 1)'
Hello, I would like help if possible, I need to monitor some servers... Some on Windows and others on linux but anyway, let's go for the easiest for me that is Windows...
Is there any tutorial on how I can do these monitoring services via the web using this tool? I'm not from the area as I see many here who know a lot, I just need to monitor these machines I mentioned, I have a very comprehensive knowledge but not with the languages I saw here.
Thanks in advance.
I would like to do that too, how do I have to edit the Prometheusmapping.yaml to include my psu metric? And, more broadly, how can I manage to add every sensor I wish to the config? I don't know the value name that matches a certain sensor like (?<Entity>CPU) for cpu sensor, how do I extract that? Thank you
Hi, thanks for the awesome work!
I have an Aquacomputer Octo and I can see the values reported from it in HWiNFO under a grouping titled "Aquacomputer Octo" and I'm trying to modify the yaml file to include sensor items from the Octo in the prometheus feed. Here is what I have tried to get a temperature sensor included:
YAML:# Octo - '(?<Entity>Aquacomputer_Octo) (?<MetricName>Temperature 1)' # Octo - '(?<Entity>Aquacomputer Octo) (?<MetricName>Temperature 1)'
I have also noticed that some items in the yaml file are <Entity>CPU and some are <Entity_CPU> I looked at the list of sensors in HWiNFO and can't seem to figure out why some items are the first way and others are the second way. (Apologies if this has been covered in the thread, I scanned stuff but didn't see it.)
wmiService:
sources:
- source: Win32_Process
ids:
- Name
- ProcessId
values:
- name: ThreadCount
- source: Win32_LogicalDisk
name: Disk
ids:
- DeviceID
values:
- name: Size
unit: Byte
- name: FreeSpace
unit: Byte
- source: Win32_PerfFormattedData_PerfProc_Process
name: Process
ids:
- Name
values:
- name: WorkingSetPrivate
unit: Byte