Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/handsomestwei/snmp-tool
snmp tool for send, receive, device simulator, mib parse
https://github.com/handsomestwei/snmp-tool
java mib simulator snmp trap
Last synced: about 19 hours ago
JSON representation
snmp tool for send, receive, device simulator, mib parse
- Host: GitHub
- URL: https://github.com/handsomestwei/snmp-tool
- Owner: handsomestWei
- License: apache-2.0
- Created: 2024-11-29T09:23:30.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-19T16:54:35.000Z (25 days ago)
- Last Synced: 2025-02-08T03:32:13.614Z (5 days ago)
- Topics: java, mib, simulator, snmp, trap
- Language: Java
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snmp-tool
![Static Badge](https://img.shields.io/badge/build-passing-green)
![Static Badge](https://img.shields.io/badge/stars-please-green)
![Static Badge](https://img.shields.io/badge/issue-thanks-green)snmp tool for send, receive, device simulator, mib parse
## About
+ snmp send and receive be based on [snmp4j](https://snmp4j.org/).
+ the mib parse is custom implementation and avoiding [mibble](https://github.com/cederberg/mibble) `GPL-2.0` risks.## Useage
### snmp send
in [snmp package](https://github.com/handsomestWei/snmp-tool/tree/main/src/main/java/com/wjy/snmp) and suggested use [SnmpV2](https://github.com/handsomestWei/snmp-tool/blob/main/src/main/java/com/wjy/snmp/SnmpV2.java)### snmp receive
in [receive package](https://github.com/handsomestWei/snmp-tool/tree/main/src/main/java/com/wjy/snmp/receive), can custom implementation the interface to handle `PDU` data, refer to the [receive demo](https://github.com/handsomestWei/snmp-tool/blob/main/src/test/java/com/wjy/snmp/SnmpV2Test.java)### snmp simulator
in [simulator package](https://github.com/handsomestWei/snmp-tool/tree/main/src/main/java/com/wjy/snmp/simulator), can simulator snmp device### mib parse
in [mib package](https://github.com/handsomestWei/snmp-tool/tree/main/src/main/java/com/wjy/snmp/mib), refer to the [parse demo](https://github.com/handsomestWei/snmp-tool/blob/main/src/test/java/com/wjy/snmp/mib/SimpleMibParserTest.java)### util
the [SnmpHelper](https://github.com/handsomestWei/snmp-tool/blob/main/src/main/java/com/wjy/snmp/SnmpHelper.java) support convert snmp4j data structure to java.