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

v1.21.3 not starting due to errors without config change #10590

Closed
jordipalet opened this issue Feb 5, 2022 · 3 comments · Fixed by #10551
Closed

v1.21.3 not starting due to errors without config change #10590

jordipalet opened this issue Feb 5, 2022 · 3 comments · Fixed by #10551
Labels
area/snmp bug unexpected problem or unintended behavior regression something that used to work, but is now broken

Comments

@jordipalet
Copy link

I updated today from 1.21.2 to 1.21.3. In a Raspberry PI, no issues, but an identical config in Ubuntu brings lots of:

Feb 05 09:02:31 Camaras systemd[1]: Stopped The plugin-driven server agent for reporting metrics into InfluxDB.
Feb 05 09:02:31 Camaras systemd[1]: Started The plugin-driven server agent for reporting metrics into InfluxDB.
Feb 05 09:02:31 Camaras telegraf[4094]: 2022-02-05T08:02:31Z I! Starting Telegraf 1.21.3
Feb 05 09:02:31 Camaras telegraf[4094]: 2022-02-05T08:02:31Z W! DeprecationWarning: Plugin "inputs.io" deprecated since version 0.10.0 and will be removed in 2.0.0: use 'inputs.diskio' instead
Feb 05 09:02:40 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/DPI20-MIB:9:4: unexpected "ibm" (expected ";")
Feb 05 09:02:41 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/HPR-MIB:494:30: unexpected "HprRtpCounter" (expected "}")
Feb 05 09:02:45 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/SNMPv2-PDU:73:1: unexpected "max-bindings" (expected "END")
Feb 05 09:02:46 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/TCPIPX-MIB:63:12: unexpected "tcpIpxConnLocalPort" (expected "}")
Feb 05 09:02:46 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/miblist.txt:1:12: no match found for .
Feb 05 09:02:48 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/DPI20-MIB:9:4: unexpected "ibm" (expected ";")
Feb 05 09:02:48 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/HPR-MIB:494:30: unexpected "HprRtpCounter" (expected "}")
Feb 05 09:02:48 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/SNMPv2-PDU:73:1: unexpected "max-bindings" (expected "END")
Feb 05 09:02:48 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/TCPIPX-MIB:63:12: unexpected "tcpIpxConnLocalPort" (expected "}")
Feb 05 09:02:48 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/miblist.txt:1:12: no match found for .
Feb 05 09:02:51 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/DPI20-MIB:9:4: unexpected "ibm" (expected ";")
Feb 05 09:02:51 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/HPR-MIB:494:30: unexpected "HprRtpCounter" (expected "}")
Feb 05 09:02:51 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/SNMPv2-PDU:73:1: unexpected "max-bindings" (expected "END")
Feb 05 09:02:51 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/ietf/TCPIPX-MIB:63:12: unexpected "tcpIpxConnLocalPort" (expected "}")
Feb 05 09:02:51 Camaras telegraf[4094]: Parse module: /usr/share/snmp/mibs/miblist.txt:1:12: no match found for .

and never starts.

Can't see why same configs fail in one system, not in the other ... unless is not telegraf itself but some library that the update is not "updating" ?

reverting to 1.21.2, makes it work again.

Any hint about how to resolve this?

@jordipalet jordipalet added the support Telegraf questions, may be directed to community site or slack label Feb 5, 2022
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Feb 5, 2022

Hello! I recommend posting this question in our Community Slack or Community Page, we have a lot of talented community members there who could help answer your question more quickly.
Heads up, this issue will be automatically closed after 7 days of inactivity. Thank you!

@MyaLongmire
Copy link
Contributor

@jordipalet Sorry you are having issues. Would mind trying out the artifacts if this pr to see if it fixes your issue. It changes how folders and walked and how mibs are loading to help decrease initialization time and to stop the infinite loop.

@Hipska
Copy link
Contributor

Hipska commented Feb 14, 2022

Duplicates #10548, please add a comment in that issue with your findings.

@Hipska Hipska closed this as completed Feb 14, 2022
@Hipska Hipska added bug unexpected problem or unintended behavior regression something that used to work, but is now broken and removed support Telegraf questions, may be directed to community site or slack labels Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/snmp bug unexpected problem or unintended behavior regression something that used to work, but is now broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants