January 2019
Intermediate to advanced
798 pages
20h 33m
English
Normally, trigger functions look at the latest values—last() gets the last value and min(), max(), and avg()look at the specified time period, counting back from the current time. For some functions, we may also specify an additional parameter called time shift. This will make the function act as if we had traveled back in time; in other aspects, it will work exactly the same. One feature this allows is creating a trigger with relative thresholds. Instead of a fixed value such as 1, 5, or 10 for a CPU load trigger, we can make it fire if the load has increased compared to a period some time ago:
{A test host:system.cpu.load.avg(3600)}/
{A test host:system.cpu.load.avg(3600,86400)}>3
In this example, we have ...
Read now
Unlock full access