Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Cannot do SNMP MIB walk

Cannot do SNMP MIB walk

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 26.5k Views
  • 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.
  • C
    C
    callanl
    wrote on last edited by
    #1

    MIBs have been successfully compiled.  However they do not display in the web interface or desktop client.  Here is the error when trying to Walk MIB: 

    Cannot do SNMP MIB tree walk: Cannot invoke "org.netxms.client.snmp.SnmpObjectId.toString()" because the return value of "org.netxms.client.snmp.MibObject.getObjectId()" is null

    The server is version 4.4.2 and running on Ubuntu 20.04

    Any ideas would be much appreciated.


    MIB.PNG

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      What version of client is that? Is it legacy or the new one? Have you tried latest 4.4.3?
      What actions do you perform to get to that error - mib explorer on node or something else?

      1 Reply Last reply
      0
      • C
        C
        callanl
        wrote on last edited by
        #3

        I have upgraded to the latest.  

        Now I can see all the MIB in both versions of the Web Client and also on the new Windows interface. 

        They are still missing on the Legacy Windows interface..... that's not a big deal. 

        I am still getting the above error on both interfaces if you try to walk from the root. 
        If you drill down into MIB tree and start your Walk from there it is now working.

        1 Reply Last reply
        0
        • N
          N
          Nem0
          wrote on last edited by
          #4

          Your device must have SNMP support enabled with correct credentials. And IP of your netxms server must have permission to query your device.

          MIB files are used only to add textual representation of OID  and human readable description to OID. 

          Please try to walk across SNMP tree  of your device in a CLI with util from net-snmp 

          snmpwalk -v2c -c COMMUNITY 192.168.27.78  .1.3.6.1.2.1.1.1
          

           

          SNMPv2-MIB::sysDescr.0 = STRING: Device: QSW-4610-28T-AC
          SoftWare Version 8.2.1.177
          BootRom Version 2011.12.21
          HardWare Version 1.0.2
            Serial No.:6210021120210459
          Copyright (C) 2021 by QTECH LLC
          All rights reserved
          

          or with netxms server's CLI util

          nxsnmpwalk -v2c -c COMMUNITY 192.168.27.78  .1.3.6.1.2.1.1.1
          
          .1.3.6.1.2.1.1.1.0 [STRING]: Device: QSW-4610-28T-AC
          SoftWare Version 8.2.1.177
          BootRom Version 2011.12.21
          HardWare Version 1.0.2
            Serial No.:6210021120210459
          Copyright (C) 2021 by QTECH LLC
          All rights reserved
          

          You should get similar response indicating correct settings of your device

          1 Reply Last reply
          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups