I have a complex scenario:
A Java application sending trappers to Zabbix Server from a tomcat.
In tomcat init script, I have zabbix_sender telling Zabbix Server that service has manually stopped.
I have defined dependencies like this: "Java application trapper" depends on "Tomcat manual stop", so when I stop the tomcat, the java trapper won't notify by email.
Well, this doesn't work, I get both monitors and I can see that zabbix_sender was received before java trapper but I get both email notifications.
If I send the zabbix_sender manually, instead of using tomcat init script, and stop tomcat, it works great.
The curious thing is that I have the same results in the "Tomcat manual stop" and "Java application trapper", at "lastest 500 values".
I tried with the same and different severity values.