<commit_before>gosnmp
======
[![Build Status](https://travis-ci.org/soniah/gosnmp.svg?branch=master)](https://travis-ci.org/soniah/gosnmp)
[![Coverage](http://gocover.io/_badge/github.com/soniah/gosnmp)](http://gocover.io/github.com/soniah/gosnmp)
[![GoDoc](https://godoc.org/github.com/soniah/gosnmp?status.png)](http://godoc.org/github.com/soniah/gosnmp)
https://github.com/soniah/gosnmp

GoSNMP is an SNMP client library written fully in Go. Currently it
provides GetRequest, GetNext, GetBulk, Walk (beta, see below), and
SetRequest (beta, see below). It supports IPv4 and IPv6, using
__SNMPv2c__ or __SNMPv3__.

About
-----

**soniah/gosnmp** is based on **alouca/gosnmp** - many thanks to Andreas
Louca for starting the project, other contributors (AUTHORS.md) and
these project collaborators:

* <NAME> ([@codedance](https://github.com/codedance/))
* <NAME> ([@virtuallynathan](https://github.com/virtuallynathan/))
* <NAME> ([@wdreeveii](https://github.com/wdreeveii/))

Overview
--------

GoSNMP has the following SNMP functions:

* **Get** (single or multiple OIDs)
* **GetNext**
* **GetBulk**
* **Walk** - retrieves a subtree of values using GETNEXT.
* **BulkWalk** - retrieves a subtree of values using GETBULK.
* **Set** (beta - currently supports Integers and OctetStrings)

GoSNMP also has the following helper functions:

* **ToBigInt** - treat returned values as `*big.Int`
* **Partition** - facilitates dividing up large slices of OIDs
<commit_msg>README traps<commit_after>gosnmp
======
[![Build Status](https://travis-ci.org/soniah/gosnmp.svg?branch=master)](https://travis-ci.org/soniah/gosnmp)
[![Coverage](http://gocover.io/_badge/github.com/soniah/gosnmp)](http://gocover.io/github.com/soniah/gosnmp)
[![GoDoc](https://godoc.org/github.com/soniah/gosnmp?status.png)](http://godoc.org/github.com/soniah/gosnmp)
https://github.com/soniah/gosnmp

GoSNMP is an SNMP client library written fully in Go. Currently it
provides GetRequest, GetNext, GetBulk, Walk (beta, see below), and
SetRequest (beta, see below). It supports IPv4 and IPv6, using
__SNMPv2c__ or __SNMPv3__.

About
-----

**soniah/gosnmp** is based on **alouca/gosnmp** - many thanks to Andreas
Louca for starting the project, other contributors (AUTHORS.md) and
these project collaborators:

* <NAME> ([@codedance](https://github.com/codedance/))
* <NAME> ([@virtuallynathan](https://github.com/virtuallynathan/))
* <NAME> ([@wdreeveii](https://github.com/wdreeveii/))

Overview
--------

GoSNMP has the following SNMP functions:

* **Get** (single or multiple OIDs)
* **GetNext**
* **GetBulk**
* **Walk** - retrieves a subtree of values using GETNEXT.
* **BulkWalk** - retrieves a subtree of values using GETBULK.
* **Set** (beta - currently supports Integers and OctetStrings)

GoSNMP also has the following helper functions:

* **ToBigInt** - treat returned values as `*big.Int`
* **Partition** - facilitates dividing up large slices of OIDs

GoSNMP has rudimentry support for receiving traps. This code needs work
(pull request welcome) - see the branch **traps**. The developer @jda
says "I'm working on the best level of abstraction but I'm able to
receive traps from a Cisco switch and Net-SNMP".

{'fraction_non_alphanumeric': 0.15683814303638646, 'fraction_numerical': 0.002509410288582183, 'mean_word_length': 4.87292817679558, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1805881', 'n_tokens_mistral': 1121, 'n_tokens_neox': 1072, 'n_words': 295}