← All dashboards

Docker Swarm Dashboard

Docker Swarm Cluster Dashboard

docker network create –driver overlay monitoring

echo “Creating the [influxdb] service” docker service create
–network monitoring
–publish=8083:8083
–publish=8086:8086
–mount=type=bind,source=/opt/influxdb/data,target=/var/lib/influxdb
–name=influxdb
–constraint=node.role==manager
influxdb:alpine

echo “Creating the [cadvisor] service”
docker service create
–network monitoring
–name cadvisor
–mode global
–mount type=bind,source=/var/run,target=/var/run,readonly=false
–mount type=bind,source=/,target=/rootfs,readonly=true
–mount type=bind,source=/sys,target=/sys,readonly=true
–mount type=bind,source=/var/lib/docker,target=/var/lib/docker,readonly=true
google/cadvisor -storage_driver=influxdb -storage_driver_host=influxdb:8086
-storage_driver_db=cadvisor

echo “Creating the [grafana] service”
docker service create
–network monitoring
–publish=3000:3000
-e “GF_SECURITY_ADMIN_PASSWORD=admin”
–constraint=node.role==manager
–name grafana grafana/grafana

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community
Sign up for Grafana Cloud
Tooltip hover

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 755