telegraf / some snmp not working after 22.05
-
i had this problem today, after upgrade from 22.02 to 22.05, it was working previusly.
[telegraf] Error running agent: could not initialize input inputs.snmp: initializing table interface: translating: cannot make BEGEMOT-PF-MIB::pfInterfacesIfTable numeric, please ensure all imported mibs are in the path [telegraf] Error running agent: could not initialize input inputs.snmp: initializing field uptime: translating: Could not find module named RFC1213-MIB [22.05-RELEASE][root@pfSense.kiokoman.home]/usr/local/share/snmp/mibs: snmpget -v2c -c ####### 127.0.0.1 RFC1213-MIB::sysUpTime.0 /usr/local/share/snmp/mibs/mibs: No such file or directory DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (206314) 0:34:23.14not working anymore ->>
[[inputs.snmp.field]] oid = "RFC1213-MIB::sysUpTime.0" name = "uptime" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "source" is_tag = true [[inputs.snmp.table]] oid = "BEGEMOT-PF-MIB::pfInterfacesIfTable" name = "interface"solution:
[[inputs.snmp]] agents = ["udp://127.0.0.1:161"] path = ["/usr/local/share/snmp/mibs"] #<----- add this timeout = "5s" community = "#########" retries = 3 max_repetitions = 102022-08-15T15:00:46Z W! [inputs.snmp] Couldn't stat target /usr/local/share/snmp/mibs/mibs panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x29dac3d]delete mibs link, if it does not exist, pointing to ./root/.snmp/mibs
rm /usr/local/share/snmp/mibs/mibsdone
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
Privacy Policy · Cookie Policy
Privacy Policy · Cookie Policy