prometheus-node-exporter is installed. Metrics and targets seem to show that it’s working, up and with a node / endpoint pointing to the IP of my NCP install.
Any suggestions as to what the problem may be and how to resolve would be great. Thanks.
Can you please include the content of the file /etc/apt/sources.list? I have a raspberry pi using a raspbian based version of nextcloudpi as well and it does find the package.
It seems to find it in deb http://raspbian.raspberrypi.org/raspbian/ buster main
deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src http://deb.debian.org/debian buster main contrib non-free
#deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
#deb-src http://deb.debian.org/debian buster-updates main contrib non-free
/etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ buster main
/etc/apt/sources.list.d/raspi.list:#deb-src http://archive.raspberrypi.org/debian/ buster main
pi@nextcloudpi:~ $ apt search | grep prometheus
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: You must give at least one search pattern
so I try this instead…
pi@nextcloudpi:~ $ apt search grep prometheus
Sorting... Done
Full Text Search... Done
hmm…
pi@nextcloudpi:~ $ ls
prometheus
pi@nextcloudpi:~ $ cd prometheus
pi@nextcloudpi:~/prometheus $ ls
console_libraries consoles data LICENSE NOTICE prometheus prometheus.yml promtool
pi@nextcloudpi:~/prometheus $
To check Prometheus is up and working…
**Runtime Information**
Uptime 2021-09-19 14:40:59.82304088 +0000 UTC
Working Directory /
Configuration reload Successful
Last successful configuration reload 2021-09-19 14:41:03 +0000 UTC
WAL corruptions 0
Goroutines 30
GOMAXPROCS 4
GOGC
GODEBUG
Storage Retention 15d
Build Information
Version 2.22.0
Revision 0a7fdd3b76960808c3a91d92267c3d815c1bc354
Branch HEAD
BuildUser root@6321101b2c50
BuildDate 20201015-13:25:59
GoVersion go1.15.3
Alertmanagers
Endpoint
Head Stats
Number Of Series Number of Chunks Current Min Time Current Max Time
1072 3216 2021-09-21 20:00:00 +0000 UTC (1632254400000) 2021-09-21 21:18:30 +0000 UTC (1632259110313)
Total Query Time: 0.001 Seconds
Highest Cardinality Labels
Name Count
__name__ 421
method 70
le 66
collector 39
device 10
mode 10
quantile 9
mountpoint 6
role 6
version 5
Highest Cardinality Metric Names
Name Count
node_nfs_requests_total 99
node_scrape_collector_success 39
node_scrape_collector_duration_seconds 39
node_cpu_seconds_total 32
prometheus_http_request_duration_seconds_bucket 30
prometheus_http_response_size_bytes_bucket 27
prometheus_sd_kubernetes_events_total 18
net_conntrack_dialer_conn_failed_total 16
prometheus_tsdb_compaction_chunk_samples_bucket 13
prometheus_tsdb_compaction_chunk_size_bytes_bucket 13
Label Names With Highest Cumulative Label Value Length
Name Length
__name__ 13448
method 596
le 307
collector 254
revision 80
version 73
device 53
chip 51
address 51
mountpoint 49
Most Common Label Pairs
Name Count
job=node1 655
instance=192.168.0.120:9100 655
instance=localhost:9090 417
job=prometheus 417
__name__=node_nfs_requests_total 99
proto=4 59
__name__=node_scrape_collector_success 39
__name__=node_scrape_collector_duration_seconds 39
device=eth0 35
device=lo
@nachoparker We use the same image for RPi3 and 4, right? If so, there’s something off about this installation, because I’m pretty sure it should contain the pkg source raspbian.raspberrypi.org/raspbian