{"id":23332825,"url":"https://github.com/transacid/switch-scraper","last_synced_at":"2025-04-07T11:19:26.041Z","repository":{"id":234731608,"uuid":"789429075","full_name":"transacid/switch-scraper","owner":"transacid","description":"a prometheus scraper that gets metrics from a netgear switch","archived":false,"fork":false,"pushed_at":"2025-04-03T17:45:34.000Z","size":155,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T18:36:40.966Z","etag":null,"topics":["gs108ev3","netgear","network","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Go","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/transacid.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}},"created_at":"2024-04-20T14:22:53.000Z","updated_at":"2025-04-03T17:45:34.000Z","dependencies_parsed_at":"2024-05-09T07:24:09.344Z","dependency_job_id":"7761f913-22e7-4aeb-89d6-433f9922fa61","html_url":"https://github.com/transacid/switch-scraper","commit_stats":null,"previous_names":["transacid/switch-sraper"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transacid%2Fswitch-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transacid%2Fswitch-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transacid%2Fswitch-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transacid%2Fswitch-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transacid","download_url":"https://codeload.github.com/transacid/switch-scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640474,"owners_count":20971558,"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":["gs108ev3","netgear","network","prometheus","prometheus-exporter"],"created_at":"2024-12-20T23:19:25.360Z","updated_at":"2025-04-07T11:19:26.011Z","avatar_url":"https://github.com/transacid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NETGEAR switch metrics scrapper\n\n## About\nthis is a foolish attempt to get metrics out of a managed netgear switch. I have tested it with my `GS108Ev3`.\n\u003e [!CAUTION]\n\u003e there is **no guarantee** that this will work with your switch.\n\nSince netgear does not provide an API it basically is webscraping from the port-monitor page. The scraper logs itself in and uses the returned cookie to continue scraping.\n## Known bugs\nthis whole construct is super fragile, sometimes the switch doesn't play nice and you get \"banned\" for around 5 minutes. it often continues.\n\n## Usage\nthe scraper expects two ENV variables:\n| Key       | Value                                               |\n| --------- | --------------------------------------------------- |\n| REMOTE_IP | this is the IP of the switch                        |\n| PASSWORD  | the password used to authenticate against the webUI |\n| PORT      | the hostPort the scraper should listen on           |\n| LOCATION  | where your switch is physically located             |\n\nthe prometheus endpoint is at `:\u003cPORT\u003e/metrics`.\n## Finally\nNo guarantees, no warranty, no nothing. You are on your own.\nIf you have suggestions I'm happy for pull requests. It may take a super long time till I respond. Please don't file issues, I do this in my spare time. Feel free to fork :)\n\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransacid%2Fswitch-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransacid%2Fswitch-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransacid%2Fswitch-scraper/lists"}