{"id":13715186,"url":"https://github.com/netreplica/graphite","last_synced_at":"2026-03-04T19:13:55.077Z","repository":{"id":37990471,"uuid":"457231862","full_name":"netreplica/graphite","owner":"netreplica","description":"Visualization for Network Topologies – NetBox, Containerlab, Netlab","archived":false,"fork":false,"pushed_at":"2025-04-19T08:00:49.000Z","size":2885,"stargazers_count":74,"open_issues_count":25,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T15:09:22.231Z","etag":null,"topics":["containerlab","netbox","networking","nextui","visualization"],"latest_commit_sha":null,"homepage":"https://netreplica.com","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/netreplica.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-09T06:11:26.000Z","updated_at":"2025-04-24T20:16:45.000Z","dependencies_parsed_at":"2023-10-25T00:31:33.021Z","dependency_job_id":"34f88efd-9087-4831-98ae-af835fd718dc","html_url":"https://github.com/netreplica/graphite","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netreplica%2Fgraphite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netreplica%2Fgraphite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netreplica%2Fgraphite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netreplica%2Fgraphite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netreplica","download_url":"https://codeload.github.com/netreplica/graphite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252806435,"owners_count":21807202,"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":["containerlab","netbox","networking","nextui","visualization"],"created_at":"2024-08-03T00:00:55.410Z","updated_at":"2026-03-04T19:13:55.007Z","avatar_url":"https://github.com/netreplica.png","language":"JavaScript","funding_links":[],"categories":["Topology Visualization with Graphite"],"sub_categories":[],"readme":"[![Discord](https://img.shields.io/discord/1075106069862416525?label=discord)](https://discord.gg/M2SkgSdKht)\n\n---\n# Netreplica Graphite\nVisualization for Network Topologies\n\n## Supported software\n\n### NetBox\n\nSupport for [NetBox](https://netbox.dev/) DCIM system includes:\n\n* Visualization of network topologies exported by [netreplica/nrx](https://github.com/netreplica/nrx) command-line tool\n* Does not require installation of a plugin on a NexBox instance\n* Filtering based on Device `role`, `site` and/or `tag` information to select devices for visualization\n* User-customizable topology data definitions via Jinja2 [templates](https://github.com/netreplica/templates/tree/main/graphite)\n\nTo export a topology for visualization from NetBox run `nrx` with the following parameters. See more in `nrx` [documentation](https://github.com/netreplica/nrx/tree/main#topology-visualization-with-graphite).\n\n```Shell\nnrx.py --config netbox.conf --input netbox --output graphite --site SITE --tag TAG\n```\n\nOnce the data is exported, run Graphite using of the methods [described here](docs/DOCKER.md) to see the topology via a browser.\n\n### Containerlab\n\nSupport for [Containerlab](https://containerlab.dev/) network emulation software includes:\n\n* Visualization of live topologies, including dynamic information about network nodes – for example, management IP addresses.\n* WebSSH access to running Containerlab nodes from the topology visualization.\n* Launching Graphite as part of Containerlab topology by including it as a node in the topology YAML file.\n\nThe easiest way to use Graphite with Containerlab is to add the following code to a topology YAML file under the `nodes:` section. For a full topology example see [examples/2host.yaml](examples/2host.yaml).\n\n```Yaml\n    graphite:\n      kind: linux\n      image: netreplica/graphite\n      env:\n        HOST_CONNECTION: ${SSH_CONNECTION}\n      binds:\n        - __clabDir__/topology-data.json:/htdocs/default/default.json:ro\n        - __clabDir__/ansible-inventory.yml:/htdocs/lab/default/ansible-inventory.yml:ro\n      ports:\n        - 8080:80\n      exec:\n        - sh -c 'graphite_motd.sh 8080'\n      labels:\n        graph-hide: yes\n```\n\nOnce added, deploy the topology with `sudo -E containerlab deploy -t \u003ctopology.yaml\u003e`. Note `-E` parameter for `sudo` – it is needed to pass `SSH_CONNECTION` variable.\n\nLook for `Graphite visualization 🎨 http://\u003cip_address\u003e:8080/graphite` Containerlab output. If you are running Containerlab on a VM via an SSH session, the `\u003cip_address\u003e` in the URL should be the one you are using to connect to the VM, so there is a good chance the link will just work. If not, you might need to replace `\u003cip_address\u003e` with proper address to connect to Graphite.\n\n![Graphite visualization 🎨 link](images/clab-deploy-graphite-url-2host.png)\n\n## Detailed instructions on using Graphite with Containerlab\n\nFollow [step-by-step reference](docs/CONTAINERLAB.md) to learn how to use Graphite with ContainerLab.\n\n## Running Graphite as a standalone Docker container\n\nTo be able to visualize multiple Containerlab topologies, including those that are not currently running, you can launch Graphite as a standalone container. Follow [the guide](docs/DOCKER.md) to learn how.\n\n## Copyright notice\n\nCopyright 2022-2023 Netreplica Team\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetreplica%2Fgraphite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetreplica%2Fgraphite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetreplica%2Fgraphite/lists"}