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 with calculated trend/change

DCI with calculated trend/change

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

    Hi,

    We have a few DCI that collect values and even though graphs give a fairly good representation would i like to have one DCI with changes.
    Example, DCI A collects value once every day and was 100 yesterday and 150 today, DCI B will then save/show the change in value from the day before and show +50

    Is this possible in some clever way using scripts?
    Like can you get earlier data from other DCI, or do you haft to have one DCI with todays value, another with yesterdays and a third with the change value of the two?

    Just started looking into scripting since i have mainly used only agent or SNMP DCI before.

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

      You dont even need to use scripts for this, simply use Delta calculation, which is already fully available in NetXMS.

      1 Reply Last reply
      0
      • M
        M
        MarcusH
        wrote on last edited by
        #3

        Thanks did not think of that, still would be nice to know if you can get earlier DCI data in script.
        We have a wall of screens showing dashboards and what we want to be shown there changes and starting to get more advanced.

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

          You can do that also already:
          https://wiki.netxms.org/wiki/NXSL:GetDCIValues

          1 Reply Last reply
          0
          • J
            J
            JLS032
            wrote on last edited by
            #5

            Hi, I have a similar question. I would like to automatically generate a bandwith graph showing the trend based on hourly peaks in usage and excluding weekends or out of office hours. Is anyone able to help me with is, or is it just not possible using NetXMS?

            Thanks!

            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