{"id":13583682,"url":"https://github.com/cdelaitre/swarmops","last_synced_at":"2025-04-06T21:32:51.325Z","repository":{"id":93554064,"uuid":"96537775","full_name":"cdelaitre/swarmops","owner":"cdelaitre","description":"Docker Swarm Real-Time Monitoring with Netdata","archived":false,"fork":false,"pushed_at":"2017-07-18T17:28:23.000Z","size":4277,"stargazers_count":33,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-06T00:39:22.230Z","etag":null,"topics":["devops","docker","monitoring","netdata","swarm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdelaitre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-07-07T12:46:24.000Z","updated_at":"2023-06-08T12:28:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6fc63ce-6262-4c7f-8660-7ec215208b7b","html_url":"https://github.com/cdelaitre/swarmops","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdelaitre%2Fswarmops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdelaitre%2Fswarmops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdelaitre%2Fswarmops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdelaitre%2Fswarmops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdelaitre","download_url":"https://codeload.github.com/cdelaitre/swarmops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247556283,"owners_count":20957938,"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":["devops","docker","monitoring","netdata","swarm"],"created_at":"2024-08-01T15:03:41.846Z","updated_at":"2025-04-06T21:32:50.062Z","avatar_url":"https://github.com/cdelaitre.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# SwarmOps\n## Docker Swarm Real-Time Monitoring\n\n![SwarmOps](https://raw.githubusercontent.com/cdelaitre/swarmops/master/img/swarmops.gif)\n\n**Requirements**\n- a Docker Swarm with managers \u0026 workers nodes\n\n**1/ Clone swarmops repository**\n- on a **manager** node :\n```shell\ngit clone https://github.com/cdelaitre/swarmops.git\ncd swarmops\n```\n\n**2/ Configure**\n- **Swarmops web**\n  - On your **manager** node, edit **swarmops-web.yml** and set constraint **node.hostname** with your manager hostname :\n```shell\nvim swarmops-web.yml\n\n...\n        constraints:\n          - node.role == manager\n          - node.hostname == \u003cYOUR_MANAGER_HOSTNAME\u003e\n...\n```\n\n- **Swarmops cluster**\n  - On your **manager** node, edit **src/config.js** and set **swarmopsCluster** with LAN IP of your nodes :\n```shell\nvim src/config.js\n\n...\n// - swarmopsCluster : array of lan ip nodes\nvar swarmopsCluster = [\"192.168.0.34\", \"192.168.0.43\", \"192.168.0.44\", \"192.168.0.45\", \"192.168.0.46\"];\n...\n```\n\n**3/ Deploy**\n- **Swarmops netdata component**\n  - on **each node**, run command (cf 10-swarmops-netdata-deploy.sh) :\n```shell\ndocker run -d \\\n  --cap-add SYS_PTRACE \\\n  --restart=always \\\n  -v /proc:/host/proc:ro \\\n  -v /sys:/host/sys:ro \\\n  -p 19999:19999 \\\n  --name swarmops-netdata \\\n  titpetric/netdata\n```\n\n- **Swarmops web component**\n  - on your manager node, run command (cf 20-swarmops-web-deploy.sh) :\n```shell\ndocker stack deploy --compose-file swarmops-web.yml swarmops\n```\n\n**4/ Monitor**\n- Go to http://\u003cLAN_IP_NODE\u003e:19998\n\n**5/ Credits**\n- Docker Swarm https://github.com/docker/swarm\n- Costa Tsaousis https://github.com/ktsaou\n  - for his awesome Netdata : https://github.com/firehol/netdata\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdelaitre%2Fswarmops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdelaitre%2Fswarmops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdelaitre%2Fswarmops/lists"}