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 for network traffic on all Network Interface Adators

DCI for network traffic on all Network Interface Adators

Scheduled Pinned Locked Moved Support
3 Posts 3 Posters 16.9k 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
    sharpspro
    wrote on last edited by
    #1

    I'm tring to create a DCI to monitor all server's network interface adaptors. I can get this to work but needs to be setup for each server. I would like the DCI to scan for all Network Adaptors (Instances) and report the Bytes or bits per sec on each. Below is what i have tried so far and I believe I am close to having this figured out but need some advice. I know how to set it up for incoming/outgoing and also the conversion to Bytes to bits but I need DCIs that can report all the interfaces and the network traffic.

    1. Open the "Data Collection Configuration" for the template
    2. Create a new parameter.
    3. On the "General" tab. PARAMETER: Net.Interface.BytesIn64(*) DATA TYPE: Unsigned Interger 64 bit
    4. On the "Instance Discovery" tab. INSTANCE DISCOVERY: Agent List. LIST NAME: Net.InterfaceList

    Any help is greatly Appreciated.
    Thanks! Russ

    1 Reply Last reply
    0
    • Z
      Z
      Tatjana Dubrovica
      wrote on last edited by
      #2

      Step 3 should look like this:
      3. On the "General" tab. PARAMETER: Net.Interface.BytesIn64({instance}) DATA TYPE: Unsigned Interger 64 bit

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

        Add instance discovery script:

        if ($1 ~= "^([0-9]+) .*")
        {
           return %(true, $1);  // at this point $1 contains first matching group
        }
        return false;
        

        It's required because this list return more data than interface index:

        AirAlk:~() $ nxget -l 10.5.0.111 Net.InterfaceList
        1 127.0.0.1/8 772 000000000000 lo
        2 10.5.0.111/24 1 00163E000009 eth0
        

        Instance discovery is performed on configuration poll.

        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