Hello,
I would like to ask you for a little help with setting notification sending on Zabbix.
We have an Action which generally sends email notification to some users with conditions:
A and B and C
A Maintenance status not in maintenance
B Application not like Web Request Application
C Trigger severity >= Average
in the operations we have From 2 To 2 with default duration ( this is set this way so that "self repairing in less than 3 mins" problems are not reported.
The issue with these settings is that once there is a problem, Zabbix waits 3 mins for reporting, the problem disappears in (lets say) 2 mins, so there is now an OK status for longer than 3 mins -> email is sent to the users that there is no problem while there was no notification that there was some problem!!
What we would like to have is the following scenario:
1 if there is a problem for shorter period than 3 mins, no notofications are sent (not event the OK message)
2 if there is a problem for longer than 3 mins, but it disappears, notification for both problem and ok status is sent.
Is there a way to solve this misterious problem?
I was thinking about adding a condition for Trigger value to be Problem, but in this case no notification is sent for scenario #2. Also creating 2 different actions for OK and Problem notification would maybe be a possible approach, however I'm not sure if in the OK notification is possible to get the value and the duration of the previous status.
Thank you in advance for your help.
Jozef
I would like to ask you for a little help with setting notification sending on Zabbix.
We have an Action which generally sends email notification to some users with conditions:
A and B and C
A Maintenance status not in maintenance
B Application not like Web Request Application
C Trigger severity >= Average
in the operations we have From 2 To 2 with default duration ( this is set this way so that "self repairing in less than 3 mins" problems are not reported.
The issue with these settings is that once there is a problem, Zabbix waits 3 mins for reporting, the problem disappears in (lets say) 2 mins, so there is now an OK status for longer than 3 mins -> email is sent to the users that there is no problem while there was no notification that there was some problem!!
What we would like to have is the following scenario:
1 if there is a problem for shorter period than 3 mins, no notofications are sent (not event the OK message)
2 if there is a problem for longer than 3 mins, but it disappears, notification for both problem and ok status is sent.
Is there a way to solve this misterious problem?
I was thinking about adding a condition for Trigger value to be Problem, but in this case no notification is sent for scenario #2. Also creating 2 different actions for OK and Problem notification would maybe be a possible approach, however I'm not sure if in the OK notification is possible to get the value and the duration of the previous status.
Thank you in advance for your help.
Jozef
Comment