Ad Widget

Collapse

trigger expression for sustained condition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • me2017
    Member
    • Apr 2017
    • 34

    #1

    trigger expression for sustained condition

    Hello! Please help me correct this trigger. I may be overlooking something in the documentation. I want the trigger to execute after a temperature has been >80 for 2 hours. This did not work:

    {server001:OutdoorTemperature.last(120m)}>80

    I think it's the use of the "last" function that is incorrect. But I don't understand which one would be right.

    https://www.zabbix.com/documentation...rs/functions?s[]=function

    I also read through this but couldn't find a suitable example:

    https://www.zabbix.com/documentation...s/expression?s[]=function
  • onallion
    Senior Member
    • Mar 2016
    • 131

    #2
    Use "min" instead of "last"

    Comment

    • me2017
      Member
      • Apr 2017
      • 34

      #3
      This worked. Thank you. I'm still trying to get my head around the documentation summary of "Lowest value of an item within the defined evaluation period."

      Comment

      • onallion
        Senior Member
        • Mar 2016
        • 131

        #4
        Yeah it's a bit hard to understand. For your case it would mean the LOWEST measured temperature in the last two hours was > 80. Therefore you can be sure it has been > 80 for the last two hours.

        Comment

        Working...