{"id":37203447,"url":"https://github.com/niltooth/crap","last_synced_at":"2026-01-14T23:27:48.667Z","repository":{"id":57574276,"uuid":"260489996","full_name":"niltooth/crap","owner":"niltooth","description":"A high performance snmp trap to nats proxy","archived":false,"fork":false,"pushed_at":"2021-10-13T14:30:32.000Z","size":2062,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T15:16:53.724Z","etag":null,"topics":["go","golang","json","nats","natsio","snmp","traps"],"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/niltooth.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}},"created_at":"2020-05-01T15:15:44.000Z","updated_at":"2024-06-19T15:16:53.724Z","dependencies_parsed_at":"2022-09-26T19:01:47.559Z","dependency_job_id":null,"html_url":"https://github.com/niltooth/crap","commit_stats":null,"previous_names":["dev-mull/crap","dev-mull/its-a-trap"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/niltooth/crap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niltooth%2Fcrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niltooth%2Fcrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niltooth%2Fcrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niltooth%2Fcrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niltooth","download_url":"https://codeload.github.com/niltooth/crap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niltooth%2Fcrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28438205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","json","nats","natsio","snmp","traps"],"created_at":"2026-01-14T23:27:47.891Z","updated_at":"2026-01-14T23:27:48.655Z","avatar_url":"https://github.com/niltooth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crap\nA high performance snmp trap to nats proxy. \nReceives snmp traps, encodes them as json or protobuf and publishes them to a nats subject.\n\nThis tool is intended to be a building block for other systems. Not a full blown alerting engine with a trap receiver.\n\nIt only starts here.. continue by enabling jetstream, adding streams and writing consumers.\n\nThis system should be able to scale from a single embedded instance on a raspberry pi to a very large cluster. \n\nMessages can be reliably delivered once they have been received by ```crap```\n\n## Status\nThis is mostly stable, but reporting issues will help a lot. \n## Deployments\n- Local. By running local the machine can basically send its traps over nats. This removes complexity with configuration management, h/a and load balancing\n- Cloud/Datacenter with single node or multiple node\n- Edge/Branch: If message reliability is of concern you may want to deploy an instance to edge/branch locations. This will let messages get buffered on the LAN and reliably sent upstream.   \n\n## Features\n- Encode snmp traps (v1,v2 \u0026 v3) into Protocol Buffers or JSON\n- Internal stats sent to nats\n\n\nExample config can be found in the base of the github repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniltooth%2Fcrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniltooth%2Fcrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniltooth%2Fcrap/lists"}