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

telegraf not booting up #3

Open
ISeeTWizard opened this issue Apr 19, 2022 · 3 comments
Open

telegraf not booting up #3

ISeeTWizard opened this issue Apr 19, 2022 · 3 comments

Comments

@ISeeTWizard
Copy link

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?

@Inch-high
Copy link

Getting the same issue too, it seems it isn't mapping the /mibs folder properly.

@jasonla
Copy link

jasonla commented Jul 27, 2022

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)

@DrKabum
Copy link

DrKabum commented Apr 10, 2024

This fixed the issue for me ☝️

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