Zabbix Documentation 4.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:config:triggers:expression

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:config:triggers:expression [2019/03/17 14:36]
dimir [Example 10] add link to passive check description
manual:config:triggers:expression [2019/07/08 05:42] (current)
martins-v 'sum' is evaluated starting with the first received value
Line 29: Line 29:
  
 ^FUNCTION CALL^MEANING^ ^FUNCTION CALL^MEANING^
-|**sum(600)** |Sum of all values ​within ​600 seconds| +|**sum(600)** |Sum of all values ​in no more than the latest ​600 seconds| 
-|**sum(#​5)** ​ |Sum of the last 5 values|+|**sum(#​5)** ​ |Sum of all values in no more than the last 5 values|
  
 The function **last** uses a different meaning for values when prefixed with the hash mark - it makes it choose the n-th previous value, so given the values 3, 7, 2, 6, 5 (from most recent to least recent), **last(#​2)** would return //7// and **last(#​5)** would return //5//. The function **last** uses a different meaning for values when prefixed with the hash mark - it makes it choose the n-th previous value, so given the values 3, 7, 2, 6, 5 (from most recent to least recent), **last(#​2)** would return //7// and **last(#​5)** would return //5//.