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 values: some are type STRING instead of Hex-STRING

SNMP values: some are type STRING instead of Hex-STRING

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 9.8k 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.
  • Dani@M3TU
    Dani@M3TU
    Dani@M3T
    wrote on last edited by
    #1

    Especially with MAC addresses we see situations in SNMP values like this:

    ARP-Table:

    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.3 [Hex-STRING] = 4C 9E FF 6F E0 17
    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.4 [Hex-STRING] = 4C 9E FF 6F E2 15
    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.10 [Hex-STRING] = 00 08 9B DA 8B C5
    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.100 [STRING] = x~a?G
    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.103 [STRING] = Tä:?ön
    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.109 [Hex-STRING] = 28 6A BA 90 1B 77
    .1.3.6.1.2.1.3.1.1.2.8.1.192.168.30.111 [STRING] = ô·âw_
    

    Some values are of type STRING instead of Hex-STRING (in the same SNMP table!). We see this especially with ZyXEL devices, but other vendors too. Is this a problem of the monitored devices or in NetXMS? (NetXMS is V2.0-M3 on Linux x64, built from sources). If you need more information, no problem. Thanks.

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      When nxsnmpget detects non-printable characters, it display them as hex codes and mark them as "Hex-STRING".
      It's just a matter of presentation – internally it's still 6 bytes with type "String".
      Right now there are no argument which will force string/hex-string output.

      1 Reply Last reply
      0
      • Dani@M3TU
        Dani@M3TU
        Dani@M3T
        wrote on last edited by
        #3

        Ok thanks Alex for the explanation. So if I need a MAC address human readable I have to manually convert it in an external converter.

        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