Skip to content

node_disk_* not working on almalinux 8 ? #2930

@darkfritz2

Description

@darkfritz2

Host operating system: output of uname -a

4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter, version 1.7.0 (branch: HEAD, revision: 7333465)

if i run the command:
node_disk_writes_merged_total
node_disk_io_now
or any other node_disk_**** on my prometheus server
then the only OS presenting me any kind of data is my ubuntu 20.04 server.
My almalinux 8 is empty.

on almalinux 8 if i run:
[root@andromeda ~]# curl "http://localhost:9100/metrics" | grep "node_disk_io_now"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 144k 0 144k 0 0 7226k 0 --:--:-- --:--:-- --:--:-- 7226k

on ubuntu 20.04 if i run:
root@localhost:~# curl "http://localhost:9100/metrics" | grep "node_disk_io_now"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0# HELP node_disk_io_now The number of I/Os currently in progress.
TYPE node_disk_io_now gauge
node_disk_io_now{device="sr0"} 0
node_disk_io_now{device="vda"} 0
100 77125 0 77125 0 0 3274k 0 --:--:-- --:--:-- --:--:-- 3274k

this is my prometheus.yml
#node_exporter

  • job_name: "node_exporter"
    static_configs:

    • targets: ['IP:9100']
  • job_name: "shared"
    static_configs:

    • targets: ['domain:9100']

my setup for almalinux is the same as ubuntu taken from here:
https://medium.com/@_oleksii_/how-to-connect-your-servers-to-prometheus-server-ec2fed5c48dd

my guess is something would be missing on my almalinux server that node_exporter can't scrape but i don't know what.

cand someone help ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions