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 Collection Error = Transformation Script does not apply?

DCI Collection Error = Transformation Script does not apply?

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

    Hi,

    I have a few Performance Counter DCIs, which will only collect data when a process is running.
    When the process doesn't run, NetXMS will generate a collection error.
    So far, so expected.

    In this particular case, I'd like to be able to transform a data collection error into a value, i.e. 0. Main reason for this are graphs - the errors mean NetXMS will try to connect the dots between whenever instances when the process was running, which looks rather confusing and 0 is in fact accurate in this case. If a process is not running at all, then it is not utilising any CPU (or disk/memory).

    But it looks as if a collection error means the transformation script is not even called (I added some trace commands, but nothing was ever logged)?
    Not sure if it would be possible to allow sending such an error condition through to a transformation script to handle (without breaking the current process, i.e. if a transformation script doesn't handle this particular condition, it should still return the usual data collection error).

    Cheers


    cpu_graph.jpg

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

      You can create dummy DCI or script DCI, that will take last value of the DCI and transform it to 0 in case of error.

      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