-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
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 ?