Skip to content

Config option to perform mib mapping on values #39

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

Closed
axrayn opened this issue Oct 17, 2018 · 2 comments
Closed

Config option to perform mib mapping on values #39

axrayn opened this issue Oct 17, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@axrayn
Copy link

axrayn commented Oct 17, 2018

Could we get a boolean config option to specify whether to perform mib translation on OID values returned by the input.

e.g. sysObjID would be returned as:
iso.org.dod.internet.private.enterprises.netSnmp.netSnmpEnumerations.netSnmpAgentOIDs.linux
instead of:
.1.3.6.1.4.1.8072.3.2.10

Not sure how we'd handle the oid_root_skip portion of this as presumably we wouldn't want to be assume the same length as the varbind oid

@colinsurprenant colinsurprenant added the enhancement New feature or request label Oct 23, 2018
@colinsurprenant
Copy link

ah yes - good idea. will add this for post-1.0.

@edmocosta
Copy link
Contributor

Hey there!

We've moved this issue into this new SNMP integration plugin, which combines the logstash-input-snmp and logstash-input-snmptrap plugins into one, and finally adds support to this feature by setting oid_map_field_values => true. For now, it uses the same OID field's format, including oid_root_skip and oid_path_length configs.

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!

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

No branches or pull requests

3 participants