Skip to content
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

Node exporter not picking up sensors output and hence sensors metrics are not exported #2986

Open
Aman1994 opened this issue Apr 11, 2024 · 1 comment

Comments

@Aman1994
Copy link

Aman1994 commented Apr 11, 2024

We are running node_exporter in one of our linux machines and wanted to check the hwmon metrics. But, for some reason sensors data is not being exported.

The VM has a ASUS motherboard. Here is the output of dmidecode

Base Board Information
	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: PRIME X670-P WIFI
	Version: Rev 1.xx

Host operating system: output of uname -a

4.18.0-513.18.1.el8_9.x86_64 #1 SMP Thu Feb 1 03:51:05 EST 2024 x86_64 x86_64 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter, version 1.3.1 (branch: tarball, revision: 4.el8)
build user:
build date: 20220128
go version: go1.16.12
platform: linux/amd64

node_exporter command line flags

node_exporter --web.listen-address=xx.xx.xx.xx:75622 --collector.textfile.directory=/var/lib/node_exporter/textfile_collector --collector.mountstats --collector.systemd --collector.hwmon

Are you running node_exporter in Docker?

No

What did you expect to see?

I expected to see the node_hwmon_fan_rpm and many other metrics but i don't actually see it.

Running sensors command directly on the VM does show me the FAN and temparature

sensors
enp8s0-pci-0800
Adapter: PCI adapter
PHY Temperature:  +51.0°C  
MAC Temperature:  +51.0°C  

nouveau-pci-0100
Adapter: PCI adapter
fan1:         993 RPM
temp1:        +30.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)
@discordianfish
Copy link
Member

Anything in the log?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants