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. Invalidate/skip DCI value using transofrmation?

Invalidate/skip DCI value using transofrmation?

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 32.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.
  • B
    B
    blazarov
    wrote on last edited by
    #1

    Hi
    Is there a way to invalidate a value and just force netxms to NOT write the value recieved in the database.
    I need that because we're extensively using imcp.pingresponsetime function on remote agents. When a monitored node goes down the agent returns value of 10000ms which renders my graph useless and also skews the max/avg stats.
    What i need is to get no data for icmp round trip time while the node is unreachable. I have partial success with replacing 10000 with 0 which makes the graph look acceptable, but still skews the averages.
    So is there a way to prevent a value from being written into the dci value database?

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

      Hi, currently it is not possible.

      There is a feature request for this here, you can follow it to get updates:
      https://dev.raden.solutions/issues/676

      1 Reply Last reply
      0
      • B
        B
        blazarov
        wrote on last edited by
        #3

        Nice, good to know.
        Will this feature help in my case - when the device goes back up and returns good value will it return automatically from unsupported state?

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

          Yes, because in transform scrip, you will be able to return a data collection error when the return value ($1) is 10000.
          When an actual value is returned again (not timeout), the transform script would do nothing.

          Is basically exactly what you are doing now, but instead of 0, you will return data collection error object.

          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