{"id":50677671,"url":"https://github.com/kassane/snmp.d","last_synced_at":"2026-06-08T16:35:02.072Z","repository":{"id":363344892,"uuid":"1183580983","full_name":"kassane/snmp.d","owner":"kassane","description":"net-snmp bindings for D","archived":false,"fork":false,"pushed_at":"2026-03-16T21:34:41.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-08T14:34:23.772Z","etag":null,"topics":["bindings","d","dlang","net-snmp","snmp","snmp-client"],"latest_commit_sha":null,"homepage":"http://snmp-d.dub.pm/","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kassane.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-16T18:49:06.000Z","updated_at":"2026-03-18T15:34:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kassane/snmp.d","commit_stats":null,"previous_names":["kassane/snmp.d"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kassane/snmp.d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fsnmp.d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fsnmp.d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fsnmp.d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fsnmp.d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kassane","download_url":"https://codeload.github.com/kassane/snmp.d/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fsnmp.d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34071657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bindings","d","dlang","net-snmp","snmp","snmp-client"],"created_at":"2026-06-08T16:35:01.374Z","updated_at":"2026-06-08T16:35:02.063Z","avatar_url":"https://github.com/kassane.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snmp.d\n\n[![CI](https://github.com/kassane/snmp.d/actions/workflows/ci.yml/badge.svg)](https://github.com/kassane/snmp.d/actions/workflows/ci.yml)\n\nD bindings for [net-snmp](http://www.net-snmp.org/). Supports SNMPv1/v2c/v3, MIB loading, and subagents.\n\n## Requirements\n\n- **net-snmp** ≥ 5.9 — `sudo apt install libsnmp-dev` / `brew install net-snmp`\n- **D frontend** ≥ 2.111 (LDC or DMD)\n\n\u003e **macOS:** net-snmp is keg-only. Add to your environment:\n\u003e ```sh\n\u003e export LDFLAGS=\"-L$(brew --prefix net-snmp)/lib\"\n\u003e export CPPFLAGS=\"-I$(brew --prefix net-snmp)/include\"\n\u003e ```\n\n## Usage\n\nAdd in your `dub.json`|`dub.sdl`:\n```sh\ndub add snmp-d\n```\n\n## Modules\n\n| Module | Provides |\n|--------|----------|\n| `snmp.session` | `SNMPSession` — `get`, `getNext`, `getBulk` |\n| `snmp.pdu` | `SNMPResponse` — `foreach`, `length` |\n| `snmp.varbind` | `VarBind` — cursor over response variables, value extractors |\n| `snmp.oid` | `OID` — parse, compare, format, prefix checks |\n| `snmp.v3` | `SNMPV3Session` — SNMPv3 USM auth/priv |\n| `snmp.mib` | `MIB` — load MIB files, resolve named OIDs |\n| `snmp.agent` | `SNMPAgent` — embedded agent / AgentX subagent |\n| `snmp.types` | Enums: `SNMPVersion`, `PDUType`, `SNMPError`, `ASNType` |\n| `c.net_snmp` | Raw ImportC declarations |\n\n## Examples\n\n```sh\ncd examples\ndub build :snmp_get   # ./build/examples_snmp_get  [host] [community]\ndub build :snmp_walk  # ./build/examples_snmp_walk [host] [community]\n```\n\n## License\n\n[BSL-1.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fsnmp.d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkassane%2Fsnmp.d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fsnmp.d/lists"}