Open ISeeTWizard opened 2 years ago
Getting the same issue too, it seems it isn't mapping the /mibs folder properly.
Change the telegraf container volume mapping described in the Readme:
Readme says:
Folder docker/telegraf/mibs -> /mibs (as read-only)
It should be:
Folder docker/telegraf/mibs -> /usr/share/snmp/mibs (as read-only)
This fixed the issue for me ☝️
Hi I tired your config but the telegraf container doesn't boot up
Here is the message from the log: 2022-04-19T11:12:36Z E! [telegraf] Error running agent: could not initialize input inputs.snmp: initializing field sysName: translating: MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf Cannot find module (SNMPv2-MIB): At line 1 in (none)
So I mapped my mibs folder to /usr/share/snmp/mibs and now the container is booting up.
Is that normal?