I am using Zabbix 5.0.2 I had created trigger with 3 conditions, two of them will be always true (they are there only because I need to send they value in alert message). If number of errors is greater than 0 trigger should fire. I checked multiple event generation because I want to get alert every time conditions are met. The problem is that I have 3 conditions and zabbix generate every time 3 problems instead 1. How can I accomplished to have one trigger, three conditions and one problem?
Ad Widget
Collapse
Zabbix create multiple problems
Collapse
X
-
removefrom the end of the :Code:}
>0 and
<>1 and
<>1
check example :
{zabbix:system.cpu.load[all,avg1].min(5m)}>2 and {zabbix:system.cpu.load[all,avg1].time()}>000000 and {zabbix:system.cpu.load[all,avg1].time()}<060000 -
Yes, like the example that is from zabbix docs.
Did you delete and re added the template ?
dont make changes as it goes sometimes it doesn't updateLast edited by batchen_regev; 11-08-2020, 12:39.Comment
-
It's not from template. All three items and trigger where added manually by me to the host. I tried to delete the trigger and add it again with above expreession but it didn't help. Every time I have three problems generated. For test I changed expression by removing one condition and after that two problems where generated (two conditions, two problems)..Comment
-
-
If I change it to single I won't be notified about next problems until trigger will be cleared. Example there are more than 0 errors - trigger is fired, next check there is still more than 0 errors and trigger should be fired again (with single it won't fire again)Comment
-
OK, it looks that I figured it out.
I've Added to expresionand set recovery expression asCode:and {server:error.quantity.nodata(1m)}=0. Problem event generation mode is set to single.Code:{server:error.quantity.nodata(1m)}=1
After that changes I've got one problem generated which is automatic closed after 1 minute (for me it's ok) and because of that during next check Zabbix can fire trigger again (of course if problem still occures). For testing purpose item is check every 2 minutes.
Comment
Comment