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. Inbound Traffic (bit) does not work correct

Inbound Traffic (bit) does not work correct

Scheduled Pinned Locked Moved Support
2 Posts 1 Posters 28.4k 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.
  • M
    M
    mike
    wrote on last edited by
    #1

    Hi,
    i have a lot of dci elements for the port traffic (bits/sec). As you can see in the picture, this does not work if the traffic is more than 2.1g. Suddenly we have negative values. The Port is a 10g port.
    If I monitor byte instead of bit, everything works fine. Even if I update the mysql database (*8 to get bit) everything is still fine (and i get about 2.7-3g)
    So I think that there is a Bug in the DCI bits/s with the transformation.

    Here some information:

    I tried:
    30 an 60 seconds polling interval
    Unsigned integer 64 bit and Integer 54 bit

    If I take a look at the History values for the DCI in netxms I get something like:
    2140082744
    2130266056
    -2088964288
    -2087799680
    2027156922

    If you check the mysql Database sometimes I get values like:
    18446744071578687616
    18446744071621501168
    and sometimes negative values.


    line.PNG

    1 Reply Last reply
    0
    • M
      M
      mike
      wrote on last edited by
      #2

      I think the problem is the max value of integer. It´s 2.147.483.647. I don´t know why he ignores the Datatype you set at the dci.
      I think you can solves this if you change the transformation script from "return $1 *8;" to "return $1 * 8.0;".
      I will test this today.

      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