Feature Request
Proposal:
Current behavior:
For each plugin, snmptranslate is called on each field, information is not shared between plugin instances.
Desired behavior:
Add a shared cache for loading SNMP MIB data to improve the startup speed when using large tables, many fields, or many plugins. Use more efficient lookup strategy, perhaps snmptranslate -Tso -m <mib-file> to avoid loading the cache file multiple times.
When Telegraf is reloaded, the cache should be cleared and rebuilt.
Use case:
Currently Telegraf can be very slow loading SNMP inputs, in some cases taking up to 10 minutes. This is made worse when you have large MIB files.
Feature Request
Proposal:
Current behavior:
For each plugin, snmptranslate is called on each field, information is not shared between plugin instances.
Desired behavior:
Add a shared cache for loading SNMP MIB data to improve the startup speed when using large tables, many fields, or many plugins. Use more efficient lookup strategy, perhaps
snmptranslate -Tso -m <mib-file>to avoid loading the cache file multiple times.When Telegraf is reloaded, the cache should be cleared and rebuilt.
Use case:
Currently Telegraf can be very slow loading SNMP inputs, in some cases taking up to 10 minutes. This is made worse when you have large MIB files.