Prometheus Adapter for HWiNFO (+ Grafana Dashboard)

@Kallex

I think the notification "Check HWiNFO Shared Memory setting" could be improved. I restarted my machine (but completely forgot) and for the world could not comprehend why i kept giving the notification. Until I opened the sensors window for the "first" time since restart. Since my machine has all the other services starting up automatically hidden. So perhaps adding to check the sensors window would be helpful.
 
Hello - I've got an issue with promdapter. At this time I'm attempting to use it as a tool for monitoring a system I'm validating. I've found during my validation (memory stress tests, CPU stress tests, Storage stress tests, etc) I get an error "semaphore failed" and I can't collect any stats on this. Is there anything that I can do to help prevent or mitigate this?
 
I've got the notification "Check HWiNFO Shared Memory setting" on VM WS2022
Where find HWiNFO Shared Memory setting in settings?
 
I find. Thanks. But, where grafana dashboard?
You're going to have to build that portion of it yourself. That's a whole different stack. You can import the dashboard from the example by copying and pasting the information from the JSON file in the main download.
 
I've moved a host that worked previously from windows 10 to windows 11 and now my DIMM temperatures don't show up any more in the promdapter output. I've double checked that my configs are the same between the two.

I've added the catchall as well to the end and no luck here.
Code:
- '(?<MetricName>.*)'


EDIT:

I didn't read far enough into the thread. it's in c:\programdata\ not c:\program files

Corsair iCue software and HWiNFO have issues together;

My own solution for monitoring Corsair product (PSU in my case) was not to use iCue for monitoring it at all. For AIO where you might need more controlling it might not be feasible case.

Do the sensors/readings appear OK in HWiNFO window? If they do, then it's just about configuring PromDapter properly.

Do you get any metrics out, just the Corsair AIO ones are missing?

The Prometheusmapping.yaml is confusing in the setup, because it installs "original default" under C:\Program Files - but that's not the one to edit. The proper one to edit is the one:

C:\ProgramData\PromDapter\Prometheusmapping.yaml

Can you double check that you edited the right one?
 
Last edited:
simple questions, i've installed all but i wanna use grafana on raspberry pi, i've run instance of grafana on rpi, i've imported the json dashboard, i've opened the port 10445 and i can reach it with the ip of my windows source, in Grafana in data sources i've to choose prometheous? and put which server? http://windows.local.ip:10445? because does not work
 
nobody can help me to configure grafana dashboard? in local if in rpi have to do some other things not explained here
 
simple questions, i've installed all but i wanna use grafana on raspberry pi, i've run instance of grafana on rpi, i've imported the json dashboard, i've opened the port 10445 and i can reach it with the ip of my windows source, in Grafana in data sources i've to choose prometheous? and put which server? http://windows.local.ip:10445? because does not work


This isn't exactly a grafana forum - if you're looking for walkthroughs or details do some more digging. I've not done a grafana build on an rpi but to give you some basic pointers you'll have to do the following:

- install grafana on a host (this would be your pi)
- put hwinfo with promdapter on a host
- configure hwinfo appropriately (Shared memory)
- point grafana to a prometheus source (http://hwinfo.hosts.ip:10445) that source being your tareget machine
- then go build dashboards with the data.

earlier in the thread someone did put a bit more detail than this, but yea - this is the gist of it.
 
Hi Kallex,

Great job there ! I installed the whole thing (Prometheus, Grafana and your adapter) in a couple of hours and now I can enjoy my GPUs' temps on my iPad :cool:. Thank you very much!

Would you be able to post a bit of info on how to configure the mapping in Prometheusmapping.yaml. I have a few sensors that are not available while I would expect to see them (e.g.
CPU Package Power). I started looking at the code but I'm not a C# developer and I don't know how to build stuff on Windows.

Thanks again

Hello Baryum56,​

Can you please help me do that. I just want to monitor my HWiNFO graphs and stats on my iPad/ iPhone.
 
Hello, following up on this again. I'm playing around now with an old broadwell system, when I look at the metrics exported I see the different cores getting exported as "multiple sources", but no tagged correctly. Example: all of my core temps are "hwi__c", but there is a different output for each core, just all under the same label.

Inline image is my example. I suspect this can be fixed with the promdapter.yml in the programdata folder, but I'm at a loss as to how to fix it.

EDIT:
I guess another way of putting this - can someone teach me how to fish a little bit here? I don't have a good understanding of the yml and how it's regex works. Looking at what is available within HWI I see that values I want, but they're not getting split out into unique names for prometheus.

Additional Edit:
Digging shows me a regexstorm.com/tester but that site is dead now. Can someone help me with pointing out what version of Regex is actually being used here? I see .net but when I select that flavor on regex101.com and use the example strings, I get a response that tells me none of the regex matches.

Example strings from first page of post: https://regex101.com/r/FTkO7X/1


FINAL EDIT:
Turns out I'm crazy? I reverted to 7.72 and noticed improvements, then tried to do a/b testing on 8 vs 7.72. Now I get all the data I'm looking for no matter which version of HWiNFO I'm using
 
Last edited:
Back
Top