logstash-plugins / logstash-integration-snmp

Logstash Integration Plugin for SNMP, including SNMP input and SNMP Trap Plugins
Apache License 2.0
0 stars 3 forks source link

Support equivalent of `disableAuthorization yes` #51

Closed cleeland closed 4 months ago

cleeland commented 5 years ago

snmptrapd from net-snmp offers a configuration option wherein traps are not checked for any authorization information, thereby enabling reception and processing of all traps. It appears that this option is not supported by logstash-input-snmptrap.

The default behavior for ruby-snmp (on which this plugin is built) is to accept all notifications, but the input plugin does not appear to offer a way to provide no community string, since it defaults to public.

edmocosta commented 4 months ago

Hey there!

We've moved this issue into this new SNMP integration plugin repository, which combines the logstash-input-snmp and logstash-input-snmptrap plugins into one, and finally adds support to this feature by setting community => []. We've also updated the docs to describe this behaviour.

Before upgrading, please have a look at the migration notes, as the new plugin introduced a few breaking changes compared to individual one. It will be bundled by default with Logstash in a future release (e.g. 8.15 or 8.16).

Thanks!