bigel0w / fluent-plugin-snmptrap Goto Github PK
View Code? Open in Web Editor NEWFluentd SNMP Trap input plugin
Fluentd SNMP Trap input plugin
I get the following error message while using snmptrap input plugin (fluent-plugin-snmptrap) with the latest version of fluentd (fluentd 0.14.8), the fix for this adding require 'fluent/input' in the "in_snmptrap.rb", but Its better if we get a update with the gem !!!
2016-11-04 12:09:34 +0530 [info]: adding source type="snmptrap"
2016-11-04 12:09:34 +0530 [error]: unexpected error error="uninitialized constant Fluent::Input"
2016-11-04 12:09:34 +0530 [error]: /var/lib/gems/2.2.0/gems/fluent-plugin-snmptrap-0.0.1/lib/fluent/plugin/in_snmptrap.rb:2:in <module:Fluent>' 2016-11-04 12:09:34 +0530 [error]: /var/lib/gems/2.2.0/gems/fluent-plugin-snmptrap-0.0.1/lib/fluent/plugin/in_snmptrap.rb:1:in
<top (required)>'
2016-11-04 12:09:34 +0530 [error]: /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-11-04 12:09:34 +0530 [error]: /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'
Need to wrap snmp-trap listener and have it restart on failure.
Also make sure close function properly shuts down all open connections.
Please release the latest master version as a gem.
I hope to install simply in a Dockerfile with gem command.
Followed your steps in Readme, nothing appears in td-agnet.log
create snmp-trap output plug-in
It should exposes common fields and lets them be overwritten before forwarding.
Should also support input snmptrap -> output snmptrap to diff listener which very overhead and 0 loss of trap information.
If we configure snmptraps on multiple ports using this plugin to get traps from different devices on separate ports then the plugin ignores all the configs after the first one and only opens single port.
Need to add support for loading MIBs.
Not too well versed in what that entails yet but will probably need to figure this out before integrating with other tools.
Currently var binds all get sucked into the big value object create by trap.inspect, we should split these out to be able to use them in resending the events later on.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.