C
C
constantin_romantsov2021-07-05 16:56:48
Zabbix
constantin_romantsov, 2021-07-05 16:56:48

Zabbix 4.4.10. How to make a speed trigger on a port?

Hello. You need to add a trigger to the port, when the speed reaches 2.5 Gb / s for more than 5 minutes - change the status to "Warning". When the speed is less than 2.5 Gb / s, go to the "OK" status and generate status notifications in telegrams.
I found something similar, but not the same ... Can anyone help correct or explain what to do?
Problem expression
({swr5:net.if.in[ifHCInOctets.2].avg(5m)}>({$IF.UTIL.MAX:"Te1/2"}/100)*{swr5:net.if.speed [ifHighSpeed.2].last()} or
{swr5:net.if.out[ifHCOutOctets.2].avg(5m)}>({$IF.UTIL.MAX:"Te1/2"}/100)* {swr5:net.if.speed[ifHighSpeed.2].last()}) and
{swr5:net.if.speed[ifHighSpeed.2].last()}>0
Recovery expression
{swr5:net.if.in[ifHCInOctets.2].avg(5m)}<(({$IF.UTIL.MAX:"Te1/2"}-3)/100)*{swr5:net.if. speed[ifHighSpeed.2].last()} and
{swr5:net.if.out[ifHCOutOctets.2].avg(5m)}<(({$IF.UTIL.MAX:"Te1/2"}-3 )/100)*{swr5:net.if.speed[ifHighSpeed.2].last()}

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-07-05
@ky0

You take a counter of the amount of data flying through the port (this is done differently depending on what kind of equipment), add it as a data element in Zabbix that counts the delta, that is, the difference between the readings. Then you make a trigger with this data element that fires when the threshold of the function is exceeded min(300).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question