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. Threshhold

Threshhold

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

    We have a number of access units that will report back to us the current number of associations that they have and the maximum allowed associations for the unit.  We are trying to setup thresholds such that we get a warning at 75% capacity and critical at 90% capacity.  So I tried setting up an item like the following under the value field:

    GetDCIValue($node, FindDCIByName($node, "MaxAssociations")) * 0.90

    Function: Last polled value
    Samples: 1
    Function: > : greater then

    It appears either my syntax is incorrect or the system does not perform evaluation for the Value field.  How can this be accomplished?  Thanks!

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

      Value in thresholds can be only constant. You should create DCI which will use correct values and then use constants in thresholds. You can use transformation script to convert absolute value into percentage, like this:

      $1 * 100 / GetDCIValueByDescription($node, "MaxAssociations")

      Best regards,
      Victor

      P.S. It is planned to add scripting support to thresholds, but this functionality most likely will be available in version 1.2.3 only.

      1 Reply Last reply
      0
      • L
        L
        lweidig
        wrote on last edited by
        #3

        Thanks for the reply, that of course gets the desired value as well for monitoring.  However, since we want to track absolute associations we now have to collect two points. 

        Looking forward to the planned feature set of 1.2.3.  This is already my favorite monitoring system I have used due to how extensible it is with scripting and such - and I have tried MANY.  Only expect it to get better.  Keep up the good work.

        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