Ad Widget

Collapse

Minor trouble with a trigger. It won't add.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r3dn3ck
    Member
    • Jul 2008
    • 43

    #1

    Minor trouble with a trigger. It won't add.

    There is probably something being done blatantly wrong in the trigger and I'm just not seeing it:

    {hostname:revenue.nonrenew.1hourapproved-div-by-hist.max(#5)}<.76

    The ITEM (probe) returns a single decimal value to the server. That's working just fine... I can see numbers popping into latest data and they're within expectations (being a decimal number). The issue is that the trigger refuses to add. The trigger should be finding the average value for the last 5 collections of the item and alarming if it's below .76.

    Are triggers only supportive of integers as the basis of comparison (the static number)?
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Use "<0.76"

    Comment

    • r3dn3ck
      Member
      • Jul 2008
      • 43

      #3
      killer. That works. Thanks a bunch. Totally forgot about leading decimals.

      Comment

      Working...