-
Incident report
-
Resolution: Fixed
-
Trivial
-
2.1.0
Expression:
(({H1:0000.last(0)}=0&{H1:asasa.last(0)}=0&{H1:xml.last(0)}=0)|({H1:0000.last(0)}=1&{H1:asasa.last(0)}=1&{H1:xml.last(0)}=1)|({H1:0000.last(0)}=2&{H1:asasa.last(0)}=2&{H1:xml.last(0)}=2))&(({H1:0000.last(0)}=5&{H1:asasa.last(0)}=5&{H1:xml.last(0)}=5)|({H1:0000.last(0)}=4&{H1:asasa.last(0)}=4&{H1:xml.last(0)}=4)|({H1:0000.last(0)}=3&{H1:asasa.last(0)}=3&{H1:xml.last(0)}=3)) | {TRIGGER.VALUE}=0
Expression constructor -> Test
We can enter any value, for example:
{H1:0000.last(0)} = 0 {H1:asasa.last(0)} = 0 {H1:xml.last(0)} = 0 {TRIGGER.VALUE} = 0
Result:
Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\2.1\frontends\php\include\triggers.inc.php(2419) : eval()'d code on line 1 Parse error: syntax error, unexpected ')' in C:\xampp\htdocs\2.1\frontends\php\include\triggers.inc.php(2419) : eval()'d code on line 1 ...
- is duplicated by
-
ZBX-5896 OR condition cannot be added correctly in trigger constructor
- Closed