Skip to content

Deploy monitoring service in Docker Swarm - Prometheus / Grafana / cAdvisor / Node Exporter / Alert Manager

License

Notifications You must be signed in to change notification settings

hatamiarash7/DockerSwarm-Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockerSwarm Monitoring

Deploy monitoring service in Docker Swarm - Prometheus / Grafana / cAdvisor / Node Exporter / Alert Manager

Prerequisites

  • You need Traefik to access services. First install Traefik for Docker Swarm

  • To access external sources for prometheus there is multiple hosts in extra_hosts section. Change these values according to your needs.

Install

Set your options :

  • Traefik domains
  • alert rules
  • prometheus data sources
docker stack deploy -c docker-stack.yml Monitoring

Access Grafana : http://grafana.localhost
Access Prometheus : http://prometheus.localhost

Extra sources

You can update or remove this sources

  • Docker Registry v2
  • PiHole
    • Configure ENV data of PiHole server in pihole/config file
    • You should install piechart plugin : grafana-cli plugins install grafana-piechart-panel
    • You can use dashboard : 10176
  • MinIO
  • Mikrotik
    • You can use dashboard : 12055
  • Traefik
    • You can use dashboard : 11462

Support

ko-fi

Contributing

  1. Fork it !
  2. Create your feature branch : git checkout -b my-new-feature
  3. Commit your changes : git commit -am 'Add some feature'
  4. Push to the branch : git push origin my-new-feature
  5. Submit a pull request :D

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them.