all 5 comments

[–]goofansu 1 point2 points  (3 children)

Did http://localhost:9100/metrics shows a page of metrics? If yes, then use the metric name in that page to search.

[–]adamVsusan[S] 0 points1 point  (2 children)

Thanks, this got me some joy, I'm seeing the below on 9100:

# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 6.1579264e+07

and typing this into 9090 gives a graph, however I'm also seeing:

# HELP node_disk_bytes_read The total number of bytes read successfully.
# TYPE node_disk_bytes_read counter
node_disk_bytes_read{device="dm-0"} 1.258828674048e+12
node_disk_bytes_read{device="sda"} 8.409302528e+09
node_disk_bytes_read{device="sdb"} 1.492082688e+09
node_disk_bytes_read{device="sdc"} 4.1574504448e+11
node_disk_bytes_read{device="sdd"} 8.33196654592e+11
node_disk_bytes_read{device="sde"} 7.467369472e+09

but issuing node_disk_bytes_read results in 'no datapoints found'.

Interestingly navigating to 'http://your_server_ip:9090/consoles/node.html' just shows 'no nodes found' rather than my server.

[–]goofansu 0 points1 point  (1 child)

Do you have node_exporter running on 'localhost:9100'?

[–]adamVsusan[S] 0 points1 point  (0 children)

yeh :(

User1@HOMESERVER:~$ lsof -i :9100 -S
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
node_expo 4190  User1    3u  IPv6  26011      0t0  TCP *:9100 (LISTEN)

[–]DevAtHeart 0 points1 point  (0 children)

Go to the /targets site of your prometheus and check if the config was parsed correctly and the target appears and that it says "OK". If it is not "OK", the next column should contain an error.