Skip to content

merinjo/go-snmp

 
 

Repository files navigation

WapSnmp : SNMP client for golang

Currently supported operations:

  • SNMP v1/v2c/v3 trap receiver with V3 EngineID auto discovery
  • SNMP v1/v2c Get, GetMultiple, GetNext, GetBulk, Walk
  • SNMP V3 Get, Set, Walk, GetNext, GetMultiple, GetBulk

Compile

make

This will compile the following binaries:

  • goget : get single SNMP mib using SNMP v3
  • gowalk : walk SNMP mibs using SNMP v3
  • trapd : this program is able to receive SNMP v2 and v3 traps (you need to configure users for SNMP v3 traps)

You can run "go test" to perform unit test.

Using the code

  • The *_test.go files provide good examples of how to use these functions
  • files under utils/ contain the main entry to the utility program. Then look at example.go and snmp.go to see how it works.

Not supported yet:

  • SNMP Informs receiver

About

GO SNMP Trap receiver and SNMP Get/Walk client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.8%
  • Other 1.2%