http2snmp

command module
v0.0.0-...-4049f7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 6 Imported by: 0

README

http2snmp

License

Scalable snmp querier with a http interface. It enable to send snmp (get, getnext, walk) queries to devices using http.

See gosnmpquerier for more information about the scalability properties and other details.

Usage of http2snmp:
  -address string
    	listen address (default "0.0.0.0")
  -contention int
    	max concurrent queries per destination (default 4)
  -maxerrors int
    	consecutive errors to mark destination as faulty (default 4)
  -port string
    	listen port (default "8080")
  -resettime int
    	time reset faulty state for a destination (seconds) (default 30)

Example

curl http://localhost:8080/?cmd=get&destination=127.0.0.1&community=public&oid=1.3.6.1.2.1.1.1.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL