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. It may be a bug of Delta value of interface DCI

It may be a bug of Delta value of interface DCI

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

    hi,victor
    In netxms-1.1.6 I set the DCI of my interface "Net.Interface.BytesIn(eth0)"(kb/s)  and set it to Delta value(average per second)
    There is two problem I meet:
    1)In linux/window,the counter of the inflow of interface can increase until it reach an bottleneck(maximum value),and then it become to zero again,It is a cycle. But if the netxms get two values near the bottleneck left and right, and the second value minus the first one,it will come up a negative number. It will cause a bug,isn't it?
    2)I ergodic the database(mysql) of a agent(idata_103) file:idata_value  and try to find the DCI "Net.Interface.BytesIn(eth0)"(kb/s)  and I found that the is 11634 records but there is 151 records is negative number(from -1813 to -33059395).This is a bug become of the negative number. It may not cause by the above problem. Because of some of the negative number is samll.
    there is my sql command:
    SELECT
      idata_value
    FROM idata_103
    WHERE item_id = 84
    AND idata_value < 0;

    If it is a bug,how I can slove it?  Thanks!

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

      Hi!

      Do you set data type of DCI to unsigned integer?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • X
        X
        x199x
        wrote on last edited by
        #3

        Oh I cause that bug. It is not relate to the unsigned integer problem. Because the counter of the inflow will be zero when the agent restart. for example, the agent network infolw  now is 1000000000,and it save to the DB and the agent machine reatart. the network infolw will set to zero. When the server get the "Net.Interface.BytesIn(eth0)" from the same agent again. 0 mimus 1000 is a negative number.
        So That bug cause:
        1)when the agent machine restart
        2)the first point I have said above.

        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