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

J

jdlds

@jdlds
Unfollow Follow
About
Posts
4
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Thresholds dependant on Conditionals
    J jdlds
    Support

    Is it possible to make a threshold for a Data Measure also dependent on a conditional?

    For example:
    I'm monitoring the AgentStatus on one host, and I want to trigger an alarm if the status changes, but only if a certain conditional (dependent on another host) is true.  I realize I could do all of this using a separate conditional, but it would mean I would have to create a new conditional for every host I needed this for, and I would rather be able to set up something like this in a template. Thanks.

    -mike


  • getting the name of a node in NXSL
    J jdlds
    Support

    Is there a way to get the name of a node or server in NXSL? 

    thanks,
    -mike


  • Status Calculation in Condition Properties
    J jdlds
    Support

    Hi,

    I'm not sure if i understand what the status calculation is for in the condition properties.

    Here's what i'm hoping for:

    via the script, the result i return (in the range of 0-1?) will impact the severity of the condition and therefore cause the alarm indicator on the left side of the object browser to appear in a different color.

    what does the 'propagate status as' and 'calculate status as' configurations do?

    thanks,
    -mike


  • Tranform and Condition Scripts
    J jdlds
    Support

    Hi Guys,

    I was wondering if anyone could share a non-trivial script for the DCI transform or the condition.
    Based on the formal declaration of NXSL i can only get basic expressions and function calls to work.  If i define a function or use any if, switch statements the script seems to not function.

    I imagine that i must be doing something wrong but any help would be appreciated.

    For example in the condition script i'm trying to do something like:

    if ($1>5) return min($2, $3);

    Another issue i've encountered is using the PDH.countervalue for data collection.  This seems to work fine for some counters but not others.

    I tried: '\Memory\Committed Bytes' and this seems to work just fine
    but when i tried
    '\PhysicalDisk(_Total)\Disk Write Bytes/sec' this always returns 0.

    if anyone can shed some light on this, that would great.

    -mike

  • 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