Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 920 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 920 Bytes

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