{"repo":"bangunindo/trap2json","free":true,"listed":false,"github":"https://github.com/bangunindo/trap2json","clone":"git clone https://github.com/bangunindo/trap2json.git","description":"SNMP Trap to JSON Forwarder","language":"Go","stars":51,"topics":["json","kafka","mqtt","snmp","snmptrap","zabbix","zabbix-sender","trap"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Trap2JSON Listens to SNMP Trap, converts it to json, and forwards it to zabbix, kafka, mqtt broker, http server or proxy it to other trap receiver. Internally it uses snmptrapd to listen to incoming trap message, output it to stdout and parse the messages. If you're familiar with how snmptrapd works, you can add any configuration supported by snmptrapd.conf. Prior knowledge for snmptrapd is not required as trap2json can handle common snmptrapd setup. While this tool can forward snmptrap to many destinations, we treat zabbix as the first class citizen and the main purpose for creating this tool. You can use this as a solution for your distributed zabbix setup. Features - Parse snmp trap messages to JSON and send to many forwarders - Supported forwarders - File/stdout - Kafka - MQTT Broker - SNMP Trap (like a proxy) - HTTP - Zabbix - Message filter for each forwarder - Decide which messages to drop - Choose your own JSON schema - Prometheus exporter - Queued forwarder - If the queue is full for a forwarder, the message is dropped - Supports unbounded queue - Forwarder auto retry with exponential backoff delay - Supports trap/inform with version 1/2c/3 in a single endpoint - Correlates open/close alarms Installation The supported way of running Trap2JSON is to use docker. Docker image is available on dockerhub. You can see sample config and its explanations at config.yml The docker image has default MIBs retrieved via snmp-mibs-downloader. If you have your own MIBs, place it und","default_branch":null,"files":null,"tree":[],"storefront":"/r/bangunindo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bangunindo/trap2json/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}