Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    telegraf / some snmp not working after 22.05

    Scheduled Pinned Locked Moved SNMP
    1 Posts 1 Posters 3.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kiokomanK
      kiokoman LAYER 8
      last edited by kiokoman

      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.14
      

      not 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 = 10
      
      2022-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/mibs
      

      done

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      1 Reply Last reply
      Reply Quote 0

      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
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy