Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[META] SNMP input - first release roadmap #2

Open
15 of 24 tasks
colinsurprenant opened this issue Apr 24, 2018 · 17 comments
Open
15 of 24 tasks

[META] SNMP input - first release roadmap #2

colinsurprenant opened this issue Apr 24, 2018 · 17 comments
Assignees

Comments

@colinsurprenant
Copy link
Contributor

colinsurprenant commented Apr 24, 2018

  • The SNMP4J OSS Java library was chosen for the plugin runtime SNMP support. The plugin is written in Ruby by calling/wrapping the library classes. SNMP4J has support for all protocols SNMPv1/v2c/v3.

  • The libsmi OSS library will be used for the external MIB files parsing support. Users will be able to import MIB files by installing libsmi on their platform and using the command line tool to import a MIB file for the plugin, with something like that:

smidump -k -f python path/to/some/original/mib > path/to/some/imported/mib.dic

No processing or computation is planned on the results. These will need to be done in downstream filters or at index/query time in ES/Kibana.

V1 Beta

See PR #1

  • The plugin first iteration supportsthese options:

    • get on a configured list of OIDs to retrieve scalar values the these OIDs.
    • walk on a configured list of OIDs to retrieve the substree of information rooted at these OIDs.
    • hosts will specify a list of hosts addresses to perform the get and walk operations.
    • interval for the sleep interval between each poll cycle.
    • mib path to specify mib files for translating OID numbers to field names in the generated event.
  • Only SNMPv2c over UDP is supported. (note that in beta3 SNMPv1 and TCP are supported)

  • Simple threaded polling loop that cycles through all defined hosts to perform the get/walk operations. A single poll cycle including all get and walk results for a single host produces one event.

  • Support MIB files to map the numeric OIDs to MIB field names in the resulting event.

  • Support scalar values handling. No particular support for objects such as table.

  • Field formatting, issue generated events fields using MIBs #3

V1 GA

Post V1 GA

@colinsurprenant
Copy link
Contributor Author

initial version 0.1.0.beta1 merged in master.

@jsvd jsvd changed the title [META] first release roadmap [META] SNMP input - first release roadmap May 15, 2018
@colinsurprenant
Copy link
Contributor Author

0.1.0.beta3 pushed which adds support for SNMPv1 and TCP. Also 0.1.0.beta2 added host field information in the event.

@dfdalamar
Copy link

Hi, is there support for SNMPv2? I would love to start testing this.

@colinsurprenant
Copy link
Contributor Author

@dfdalamar for now SNMPv1 and SNMPv2c are supported. Next in line is SNMPv3. Does SNMPv2c work for you?

@dfdalamar
Copy link

That is perfect!!!!

@colinsurprenant
Copy link
Contributor Author

@dfdalamar looking forward for your feedback - do not hesitate to open bug/suggestion issues, I will followup as we are ramping up toward the 1.0 release soon.

@dfdalamar
Copy link

Please excuse my ignorance. How do I install this? Can I use the logstash plugin install command?

@colinsurprenant
Copy link
Contributor Author

@dfdalamar since this is a beta version you have to explicitly specify the version like this:

$  bin/logstash-plugin install --version 0.1.0.beta3 logstash-input-snmp

@dfdalamar
Copy link

Thanks!!!!

@dfdalamar
Copy link

I have installed but cannot find the files to edit. I have all kinds of MIBS on my machine, I am running rrd with another program.

@colinsurprenant
Copy link
Contributor Author

@dfdalamar could you please open a new issue with your specific usage problems and we can followup in there? This is not relevant to this release roadmap meta issue here. Thank you. Also note that there are configuration examples in the wiki that might be useful.

@swtrux
Copy link

swtrux commented Sep 10, 2018

I am very interested in using this new plugin but need the SNMPv3 support. I have not seen any progress lately in this tread. Is this feature still coming?

@colinsurprenant
Copy link
Contributor Author

colinsurprenant commented Sep 25, 2018

@swtrux I am about to resume work on the SNMPv3 support and review #21

@colinsurprenant
Copy link
Contributor Author

I added initial support for SNMPv3 in #27 - once reviewed I will publish it in beta5.

@colinsurprenant
Copy link
Contributor Author

0.1.0.beta5 was just published and includes a number of bug fixes, support for SNMPv3 and the inclusion of all ietf MIBs.

$ bin/logstash-plugin install --version 0.1.0.beta3 logstash-input-snmp

@edperry
Copy link

edperry commented Oct 31, 2018

I will start looking at the snmpv3 next week,

@colinsurprenant
Copy link
Contributor Author

v1.1.0 with table support is out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants