{"id":18561884,"url":"https://github.com/sir-go/snmp-pps-get","last_synced_at":"2025-05-15T17:10:02.511Z","repository":{"id":144671960,"uuid":"555742119","full_name":"sir-go/snmp-pps-get","owner":"sir-go","description":"CLI tool gets pps via snmp by switch ip","archived":false,"fork":false,"pushed_at":"2022-12-06T07:39:49.000Z","size":479,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T17:09:58.967Z","etag":null,"topics":["cli","go","golang","network","snmp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sir-go.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":"2022-10-22T08:05:18.000Z","updated_at":"2022-12-06T07:38:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"5adf13dd-4344-4579-a0d3-fa2b1ee2cc6d","html_url":"https://github.com/sir-go/snmp-pps-get","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/sir-go%2Fsnmp-pps-get","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fsnmp-pps-get/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fsnmp-pps-get/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fsnmp-pps-get/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sir-go","download_url":"https://codeload.github.com/sir-go/snmp-pps-get/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254384990,"owners_count":22062422,"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":["cli","go","golang","network","snmp"],"created_at":"2024-11-06T22:08:10.431Z","updated_at":"2025-05-15T17:10:02.430Z","avatar_url":"https://github.com/sir-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI tool for monitoring PPS on the D-Link switches by ports\n[![Go](https://github.com/sir-go/snmp-pps-get/actions/workflows/go.yml/badge.svg)](https://github.com/sir-go/snmp-pps-get/actions/workflows/go.yml)\n\nCLI utility periodically gets packets-per-second statistic of given devices and print it as a table.\n\n## Build\n```bash\ngo test ./...\ngosec ./...\ngo mod download \u0026\u0026 go build -o pps ./cmd/cli\n```\n\n## Flags\n`\u003cip0\u003e \u003cip1\u003e:\u003cposts\u003e ... ` - target switches IP addresses, can be an IP or IP:ports-range, i.e.:\n`10.10.0.1 10.15.0.12:1-5 192.168.28.26:14,17,20-25`\n\n## Config\n`config.yml` must be located in the same directory. It contains the array of SNMP OIDs for getting metrics\n(TX and RX PPS) by the switch model name and default values.\n\n## Usage\n```bash\npps \u003cip0\u003e \u003cip1\u003e:\u003cports\u003e ... \u003cipN\u003e\n```\n\n![](pps.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsir-go%2Fsnmp-pps-get","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsir-go%2Fsnmp-pps-get","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsir-go%2Fsnmp-pps-get/lists"}