{"id":13608799,"url":"https://github.com/tux-00/network_miner","last_synced_at":"2026-01-16T11:42:09.733Z","repository":{"id":35955105,"uuid":"40244804","full_name":"tux-00/network_miner","owner":"tux-00","description":"Network Miner generates a network map by sending SNMP requests (LLDP/CDP/EDP).","archived":false,"fork":false,"pushed_at":"2017-02-02T07:09:51.000Z","size":1091,"stargazers_count":37,"open_issues_count":16,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-07T14:42:10.614Z","etag":null,"topics":["cdp","edp","lldp","network","network-diagram","network-map","snmp"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tux-00.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}},"created_at":"2015-08-05T12:48:00.000Z","updated_at":"2024-07-22T19:16:03.000Z","dependencies_parsed_at":"2022-09-14T02:53:06.200Z","dependency_job_id":null,"html_url":"https://github.com/tux-00/network_miner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux-00%2Fnetwork_miner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux-00%2Fnetwork_miner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux-00%2Fnetwork_miner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux-00%2Fnetwork_miner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tux-00","download_url":"https://codeload.github.com/tux-00/network_miner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605349,"owners_count":21132158,"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":["cdp","edp","lldp","network","network-diagram","network-map","snmp"],"created_at":"2024-08-01T19:01:30.060Z","updated_at":"2026-01-16T11:42:09.727Z","avatar_url":"https://github.com/tux-00.png","language":"PHP","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"Network Miner\n=============\n\n[![Code Climate](https://codeclimate.com/github/tux-00/network_miner/badges/gpa.svg)](https://codeclimate.com/github/tux-00/network_miner)\n\nNetwork Miner generates a network map by sending SNMP requests (LLDP/CDP/EDP).\n\n![D3.js display](http://i.imgur.com/RkQj2EF.png)\n\n## Table of contents:\n- [Installation](#installation)\n- [Test files](#test-files)\n- [Roadmap](#roadmap)\n- [Wiki](#wiki)\n\n# Installation\n\n**Prerequisite**\n\n* LLDP, EDP or CDP need to be enabled on your SNMP devices.\n\n* You need a web server with the php snmp plugin/package enabled.\n\n* SNMP SysName need to be matching with a DNS record.\n\n**Installation**\n\n* Clone this repository into your sites location (e.g. /var/www/) :\n\n`git clone https://github.com/tux-00/network_miner.git`\n\n* Download dependencies :\n\n`cd network_miner`\n\n`bower install`\n\nRefer to [bower.io](http://bower.io/) for informations about installation.\n\n* Run index.php in your web browser.\n\n**Docker**\n\nTo use the docker image just pull the repository :\n```docker pull tofu00/network_miner```\n\nand run the image :\n```docker run -d -it -p 80:80 tofu00/network_miner```\n\nYou can change the port mapping with the *-p* paramater.\n\n# Test files\nYou can test the Network Miner rendering without the appropriate environment.\n\nTo test Network Miner, you need first to overwrite *data/snmp_data.json* with the content of a test file located in [test/data/](test/data/).\n\nNow comment these lines in *data_mining.php* to avoid the scan and the overwrite of *snmp_data.json*:\n```php\nrecursive_search($FIRST_DEVICE, 1);\n\nfile_put_contents('./data/snmp_data.json', json_encode(array('nodes' =\u003e $nodes,\n 'links' =\u003e $links)),\n LOCK_EX);\n```\n\n**JSON data faker**\n\nIf you want to submit data for testing purpose you can use the [json_data_faker.py](test/data/json_data_faker.py) Python 2.7 script to fake every device names in your JSON file.\n\nTo use this script you need to install *faker* module with `pip install fake-factory`.\n\nJust put the script at your json files location and execute it: `python json_data_faker.py`.\n\nThe script will scan the current folder, find the json files and replace device names.\n\n# Roadmap\n* Get SNMP informations from a specific device\n* Autorefresh map data\n* Save maps as PDF, PNG ...\n* Icinga plugin\n\n# Wiki\nFor more information, see the [Wiki](https://github.com/tux-00/network_miner/wiki) section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftux-00%2Fnetwork_miner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftux-00%2Fnetwork_miner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftux-00%2Fnetwork_miner/lists"}