Hey guys,
I've just found a problem with trigger's action.
Items value at 2019/12/19 09:33:23:
I've just found a problem with trigger's action.
- Description
I have set up icmpping monitoring, and the monitoring level is set in three: Warning Critical and Disaster. The Warning trigger depends on Critical, and both Warning and Critical depend on Disaster (See below for trigger expressions). The monitored server is set to turn on and off automatically every day (off in the evening and on in the morning). So the Disaster will be triggered after the shutdown, and then after the next morning when server turns on, the disaster will be restored. But at the same time of disaster recovery, Critical Problem and Resolution are triggered, and the value of the item does not reach the threshold set by the Critical Expression.
- Configuration details
Zabbix version: 4.0.13
Expression of triggers:
Expression of triggers:
Critical:{hostname:icmppingsec[,10,20,,10000,avg].last(0)}>=5 or {hostname:icmppingloss[,10,20,,10000].last(0)}>=60 Depends on Disaster
Warning:{hostname:icmppingsec[,10,20,,10000,avg].last(0)}>=1 or {hostname:icmppingloss[,10,20,,10000].last(0)}>=20 Depends on Critical & Disaster
Disaster:{hostname:icmpping[,10,20,,10000].last()}=0
Warning:{hostname:icmppingsec[,10,20,,10000,avg].last(0)}>=1 or {hostname:icmppingloss[,10,20,,10000].last(0)}>=20 Depends on Critical & Disaster
Disaster:{hostname:icmpping[,10,20,,10000].last()}=0
Problems_history:
As shown in the figure below, critical is detected at the same time as the disaster recovery, and then restored at the same time.
Items value at 2019/12/19 09:33:23:
icmppingsec: 0.0002
icmppingloss: 0
icmpping: Up (1)
I'll be very appriciate if someone can give me some help.icmppingloss: 0
icmpping: Up (1)