Patrick Hemmer
b58926dd26
snmp: use a shared global translation cache
...
Prevents the same data from being looked up multiple times. Also prevents multiple simultaneous lookups.
closes #2115
closes #2104
2016-12-12 13:32:42 +00:00
Patrick Hemmer
91143dda1a
snmp: make snmptranslate not required ( #2008 )
2016-12-12 13:30:07 +00:00
Patrick Hemmer
b48ad4b737
fix snmp emitting empty fields
...
closes #1848
closes #1835
2016-10-04 16:25:16 +01:00
Patrick Hemmer
9feb639bbd
fix translating snmp fields not in MIB ( #1846 )
2016-10-04 16:22:15 +01:00
Cameron Sparr
e7e39df6a0
Default SNMP parameter changes
...
max-repetitions = 10 is the default of net-snmp utils according to
http://net-snmp.sourceforge.net/docs/man/snmpbulkwalk.html
retries = 3 is the default of gosnmp:
https://godoc.org/github.com/soniah/gosnmp#pkg-variables
Could deal with some parts of the performance issues reported
by #1665
2016-09-28 14:34:20 +01:00
Patrick Hemmer
055ef168ae
add oid_index_suffix to snmp plugin
2016-09-27 11:30:25 +01:00
Patrick Hemmer
2778b7be30
add snmp conversions for MAC addresses & IPs
2016-09-27 11:30:25 +01:00
Patrick Hemmer
953db51b2c
Adjust snmp translation to return conversion info.
...
Also consolidated the translation code to obtain all info with just 1 command execution.
Also split test command mocks out to their own file for cleanliness.
2016-09-27 11:30:25 +01:00
Patrick Hemmer
7fac74919c
Alternate SNMP plugin ( #1389 )
...
* Add a new and improved snmp plugin
* update gosnmp for duplicate packet fix
https://github.com/soniah/gosnmp/issues/68
https://github.com/soniah/gosnmp/pull/69
2016-08-22 16:37:53 +01:00
Cameron Sparr
4ce8dd5f9a
Rename snmp plugin to snmp_legacy
2016-08-11 16:11:35 +01:00
Cameron Sparr
85dee02a3b
snmp plugin: change host -> snmp_host
...
closes #1156
2016-05-10 14:18:00 -07:00
Thibault Cohen
75a9845d20
SNMP Fix #995
...
closes #995
2016-04-18 11:19:16 -06:00
Cameron Sparr
e4e174981d
Skip snmp tests that require docker in short mode
2016-02-19 16:15:14 -07:00
Cameron Sparr
6ebb6bc7ee
Fix SNMP unit tests on OSX, improve tag config doc
...
closes #592
2016-01-27 11:27:10 -07:00
Thibault Cohen
e6d7e4e309
Add snmp input plugin
...
closes #546
closes #40
2016-01-25 12:35:27 -07:00