{"id":13588059,"url":"https://github.com/bekkerstacks/monitoring-cpang","last_synced_at":"2025-04-08T02:34:39.963Z","repository":{"id":223142742,"uuid":"187529286","full_name":"bekkerstacks/monitoring-cpang","owner":"bekkerstacks","description":"cAdvisor, Prometheus, Alertmanager, Node-Exporter, Grafana","archived":false,"fork":false,"pushed_at":"2020-02-19T09:35:19.000Z","size":100,"stargazers_count":35,"open_issues_count":3,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-06T07:40:13.635Z","etag":null,"topics":["cadvisor","docker","docker-stack","docker-swarm","grafana","node-exporter","prometheus","traefik"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bekkerstacks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-19T21:19:59.000Z","updated_at":"2023-02-18T23:38:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9b006a0-243c-4183-8775-fee859a9eb6b","html_url":"https://github.com/bekkerstacks/monitoring-cpang","commit_stats":null,"previous_names":["bekkerstacks/monitoring-cpang"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekkerstacks%2Fmonitoring-cpang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekkerstacks%2Fmonitoring-cpang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekkerstacks%2Fmonitoring-cpang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekkerstacks%2Fmonitoring-cpang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bekkerstacks","download_url":"https://codeload.github.com/bekkerstacks/monitoring-cpang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247765107,"owners_count":20992238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cadvisor","docker","docker-stack","docker-swarm","grafana","node-exporter","prometheus","traefik"],"created_at":"2024-08-01T15:06:29.395Z","updated_at":"2025-04-08T02:34:39.957Z","avatar_url":"https://github.com/bekkerstacks.png","language":"Shell","readme":"# monitoring-cpang \n\ncAdvisor, Prometheus, Alertmanager, Node-Exporter, Grafana\n\n## How to use this\n\n**Note**: Dependent service [Traefik](https://github.com/bekkerstacks/traefik#usage) is required, if you don't use traefik, you can find a [deploy without traefik](#alternative-versions)\n\nGet the sources:\n\n```\n$ git clone https://github.com/bekkerstacks/monitoring-cpang\n$ cd monitoring-cpang\n```\n\n#### Dependency: Traefik\n\nGet Traefik, by default it uses SSL\n\nSee all [configuration options here](https://github.com/bekkerstacks/traefik#configuration):\n\n- requires your domain name as env var `DOMAIN=\"\"` defaults to `localhost`\n\n```\n$ wget -O docker-compose.traefik.yml https://raw.githubusercontent.com/bekkerstacks/traefik/master/docker-compose.yml\n```\n\n#### Authentication\n\nServices that do not come with authentication endpoints, is protected by basic auth and by default is (`admin/admin`). \n\nTo override:\n\n```\n$ htpasswd -c htpasswd \u003cusername\u003e\n```\n\n#### Deploy Traefik and CPANG\n\nThis will deploy Traefik and a Fresh CPANG stack: \n\n```\n$ export DOMAIN=\"localhost\" # services will use traefik.localhost in this case\n$ docker stack deploy -c docker-compose.traefik.yml proxy\n$ docker stack deploy -c docker-compose.yml mon\n```\n\n### Alternative Versions:\n\na Stack with HTTP Endpoints:\n\n```\n# traefik needs to be running\n$ docker stack deploy -c alt_versions/docker-compose_http.yml http_mon\n```\n\na Stack without Traefik:\n\n```\n$ docker stack deploy -c alt_versions/docker-compose_no_traefik.yml notraefik_mon\n```\n\nIf you want a stack with prepopulated dashboards::\n\n```\n# traefik needs to be running\n$ docker stack deploy -c alt_versions/docker-compose_with_dashboards.yml dash_mon\n```\n\nCPANG Stack with MySQL, MySQL Exporter and Dashboards:\n\n```\n# traefik needs to be running\n$ docker stack deploy -c alt_versions/docker-compose_http_with_dbs.yml dbs_mon\n```\n\n## Endpoints:\n\n- Grafana: `grafana.${DOMAIN}`\n- Alertmanager: `alertmanager.${DOMAIN}`\n- Prometheus: `prometheus.${DOMAIN}`\n- Traefik: `traefik.${DOMAIN}`\n\n## Configuration\n\nLook at the [wiki](https://github.com/bekkerstacks/monitoring-cpang/wiki) for tutorials on how to add datasources and dashboards\n\n## Extra Dashboard Links:\n\nTraefik:\n\n- [4475 - Traefik per Backend](https://grafana.com/dashboards/4475)\n- [6293 - Traefik Real Time](https://grafana.com/dashboards/6293)\n\nDocker:\n\n- [609 - Docker Swarm and Container Overview](https://grafana.com/dashboards/609)\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbekkerstacks%2Fmonitoring-cpang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbekkerstacks%2Fmonitoring-cpang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbekkerstacks%2Fmonitoring-cpang/lists"}