swapnil96 / docker-swarm-arm-monitor

Root repo for monitoring cluster of raspberry pi.
https://hub.docker.com/r/swapnil18/docker-swarm-arm-monitor/
GNU General Public License v3.0
3 stars 4 forks source link

monitoring_prometheus: "no suitable node (unsupported…" #1

Open EngMarcoCaiazzo opened 6 years ago

EngMarcoCaiazzo commented 6 years ago

after running docker stack deploy --compose-file docker-compose.yml monitoring, this is what i got:

docker stack ps monitoring

ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS og8awczmxea6 monitoring_cadvisor.mtay8r479l1ikc9rw7ibvz0p7 swapnil18/docker-arm-cadvisor:latest rpi4 Running Running 10 minutes ago
cj4cntvph2w2 monitoring_cadvisor.zdolr97rytayb9dal5twa97ap swapnil18/docker-arm-cadvisor:latest rpi3 Running Running 10 minutes ago
c0ai5hc3ihh5 monitoring_cadvisor.wf02w9verynyml70yyh2k738h swapnil18/docker-arm-cadvisor:latest rpi2 Running Running 10 minutes ago
025szjirwmsd monitoring_cadvisor.qz1ljt4auzod8qyvz23bkdjoe swapnil18/docker-arm-cadvisor:latest rpi1 Running Running 10 minutes ago
nbh7rvr854kh monitoring_docker-exporter.qz1ljt4auzod8qyvz23bkdjoe swapnil18/docker-swarm-arm-socat:temp rpi1 Running Running 10 minutes ago
bptha5p99yug monitoring_docker-exporter.mtay8r479l1ikc9rw7ibvz0p7 swapnil18/docker-swarm-arm-socat:temp rpi4 Running Running 10 minutes ago
ba2njvat7qir monitoring_docker-exporter.zdolr97rytayb9dal5twa97ap swapnil18/docker-swarm-arm-socat:temp rpi3 Running Running 10 minutes ago
p78ks2xmuzd6 monitoring_docker-exporter.wf02w9verynyml70yyh2k738h swapnil18/docker-swarm-arm-socat:temp rpi2 Running Running 10 minutes ago
nsi0ifcp0j0u monitoring_grafana.1 swapnil18/docker-swarm-arm-grafana:temp rpi3 Running Running 7 minutes ago
nfh1phwo9tsw monitoring_prometheus.1 swapnil18/docker-swarm-arm-monitor:latest Running Pending 10 minutes ago "no suitable node (unsupported…"

The problem is the service prometheus.

my environment is: docker version

Client: Version: 18.06.0-ce API version: 1.38 Go version: go1.10.3 Git commit: 0ffa825 Built: Wed Jul 18 19:19:46 2018 OS/Arch: linux/arm Experimental: false Server: Engine: Version: 18.06.0-ce API version: 1.38 (minimum version 1.12) Go version: go1.10.3 Git commit: 0ffa825 Built: Wed Jul 18 19:15:34 2018 OS/Arch: linux/arm Experimental: true

swapnil96 commented 6 years ago

I am currently not working in this field and the work done is 1 year old.

Mostly the prometheus image is broken, so fork swapnil96/docker-arm-prometheus and update it with necessary changes(new binaries) and use that in monitoring. Hope that it helps