[ZBX-5721] Wrong action condition calculation Created: 2012 Oct 22 Updated: 2017 May 30 Resolved: 2012 Oct 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.15, 2.0.3 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Pavel Timofeev | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | actions, frontend | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 1.8.13 |
Attachments: | zabbix-bug.PNG zabbix-bug2.PNG | ||||||||
Issue Links: |
|
Description |
Just look at attached image. When some of conditions are "not" they have to use AND instead of OR to communicate with same type conditions. I've found this bug on Zabbix 1.8.13. I checked it on Zabbix 2.0.3 too - same result. |
Comments |
Comment by Pavel Timofeev [ 2012 Oct 22 ] |
Of course, it's all about case when "Type of calculation" is automatic, i.e. "AND/OR" |
Comment by richlv [ 2012 Oct 22 ] |
when fixing, it should be checked what the server does in this case |
Comment by Alexander Vladishev [ 2012 Oct 23 ] |
It works according to documentation. Related issue: |
Comment by Alexander Vladishev [ 2012 Oct 23 ] |
I'm closing it as duplicate. |
Comment by Pavel Timofeev [ 2012 Oct 24 ] |
Hmm, |
Comment by Pavel Timofeev [ 2012 Oct 24 ] |
Here is second similar problem at zabbix-bug2.png. |
Comment by Pavel Timofeev [ 2012 Oct 25 ] |
After some thinking and seeing php code: I've swaped this rules because I saw such order in php code (actionconf.php, lines number 580-583). P.S. I'm sorry for such bad and impolite English, I just don't know how to explain some quite difficult and technical things in English. |
Comment by Pavel Timofeev [ 2012 Oct 25 ] |
Ok, I think it's enough difficult and needs much new code in server and frontend. Just some small stupid ideas: |
Comment by richlv [ 2012 Oct 25 ] |
|