Hi, I receive alerts, via zabbix sender, from another plataform that I have no control over, this alerts have the values 0 or 1.
whenever a 1 arrive a problem is triggered
.last()}>0
whenever a 0 arrive a problem is recovered
.change()}=-1
if I get a 1 and then a 0 the difference will be -1 (change()) and the problem is recovered,
if I get a 1 and then 1 the difference will be 0, so the problem is not recovered.
It works ok, but the issue that I have is that sometimes in a short span of time I get too many problems from the same host and item.
What will be the best way to avoid this issue?
whenever a 1 arrive a problem is triggered
.last()}>0
whenever a 0 arrive a problem is recovered
.change()}=-1
if I get a 1 and then a 0 the difference will be -1 (change()) and the problem is recovered,
if I get a 1 and then 1 the difference will be 0, so the problem is not recovered.
It works ok, but the issue that I have is that sometimes in a short span of time I get too many problems from the same host and item.
What will be the best way to avoid this issue?
Comment