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. DCI: SNMP get Traffic interface (bytes/s) ?

DCI: SNMP get Traffic interface (bytes/s) ?

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 18.0k 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.
  • V
    V
    vinhnt26
    wrote on last edited by
    #1

    Hi all,
    I need to get Traffic interface (bytes/s) by SNMP. But i not found OID for it, i only found OID: ifHCOutOctets (.1.3.6.1.2.1.31.1.1.1.10) and ifHCInOctets (.1.3.6.1.2.1.31.1.1.1.10). But It get total number of octets transmitted/received.
    Anyone has OID or way to help me get Traffic interface (bytes/s) ?

    Thanks,

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      Those 2 are the right OIDs.

      In DCI Transformation set:
      Delta calc: Average delta per second
      In transform script: "return $1 * 8;"

      1 Reply Last reply
      0
      • V
        V
        vinhnt26
        wrote on last edited by
        #3

        Hi tomaskir,
        Two OIDs get traffic interface (bytes/s)?
        I read description of OIDs, it is: "The total number of octets transmitted out of the interface, including framing characters...Discontinuities in the value of this counter can occur at re-initialization of the management system.."
        What does this mean?. I think it mean is get total number of octets of interface from system start. Not is (bytes/s) or (bits/s)....  😞

        1 Reply Last reply
        0
        • T
          T
          tomaskir
          wrote on last edited by
          #4

          Yes, its 2 OIDs.
          One is traffic received (download), other traffic sent (upload).

          You are correct that its a counter of bytes received on an interface since initialization, but that is fine.
          This is why we do the transformations I mentioned.

          NetXMS will turn those numbers into bits/s.

          All NMS's do it like that.

          1 Reply Last reply
          0
          • V
            V
            vinhnt26
            wrote on last edited by
            #5

            Thanks tomaskir,  🙂

            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