stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swarm service dashboard show only Manager node service

plaramee1 opened this issue · comments

I have a 4 node swarm and the service dashboard show only the service from the manager.
Also, it say I have only 1 node.
But if I go to the node dashboard I can see all my 4 nodes.

Found It, my docker was started with host tcp://0.0.0.0:2375
I added host unix:///var/run/docker.sock and its now working !

I am facing similar issue
Kindly assist me

@sudipto92 , In your file /etc/init.d/docker you should have a line that look like that :
DOCKER_OPTS="-H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375"

that make it possible to be run with tools like Portainer and also run locally.

@x3r10n any more details on this? My DOCKER_OPTS is empty