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. SNMP, Counter64, value, ...

SNMP, Counter64, value, ...

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 54.2k 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.
  • S
    S
    sodalist
    wrote on last edited by
    #1

    Hi,

    Any suggestions on how to query 64bit counters with netxms ?

    NETXMS version: 0.2.19 (x86_32, Windows 2003 SE)
    
    in:
    nxsnmpwalk -c public -v 2c x.x.x.x .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33
    
    out:
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.1 [46]:
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.2 [46]:
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.3 [46]:
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.4 [46]:
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.5 [46]:
    
    NET-SNMP version: 5.3.1 (x86_64, GNU/Linux)
    
    in:
    snmpwalk -v2c -O nT -c public x.x.x.x .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33
    
    out:
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.1 = Counter64: 0
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.2 = Counter64: 143130624
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.3 = Counter64: 17891328
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.4 = Counter64: 357957632
    .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.5 = Counter64: 88080384
    

    thank you,

    Ales

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hello!

      I have found a bug (it seems like that). Unfortunatelly, I don't have any device with COUNTER64 variables available, so I cannot test the solution. You can replace your libnxsnmp.dll with attached one - this should solve the problem. Also, if anybody will need to rebuild libnxsnmp from source, there are also patched variable.cpp file.

      Best regards,
      Victor


      libnxsnmp.dll

      variable.cpp

      1 Reply Last reply
      0
      • S
        S
        sodalist
        wrote on last edited by
        #3

        Hi,

        Verified patch. Working.

        nxsnmpwalk -c public -v 2c x.x.x.x .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33
        .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.1 [46]: 0
        .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.2 [46]: 143130624
        .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.3 [46]: 17891328
        .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.4 [46]: 357957632
        .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.5 [46]: 88080384
        

        Thank you very much,

        Ales

        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