C
C
CanisLupusMSK2021-07-29 10:53:41
Monitoring
CanisLupusMSK, 2021-07-29 10:53:41

How to make a trigger for zabbix?

It is required to make a trigger that will respond to the number of errors on the interface. The trigger should not take one value and react to it, but a set of values ​​every 15 seconds, and if it is higher than necessary, then fire. I found how to make a trigger for one value, but not for many values ​​in a certain time

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2021-07-29
@CanisLupusMSK

Comparisons such as min,max or avg work with a set of values, for example:
⇒ avg(#5) → average value for the five latest values
​​⇒ avg(1h) → average value for an hour
And then getting the average value for the last n times or for you compare the last n seconds/minutes with the required trigger threshold
Documentation: https://www.zabbix.com/documentation/5.2/manual/ap...

K
ky0, 2021-07-29
@ky0

What do you mean by "multiple values"? Typically, errors on interfaces are monitored by a delta metric, not an absolute value. Accordingly, the trigger then looks elementary - "if the delta is greater than N, then yell."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question