[ZBX-3911] Can not create trigger with trigger expression like {H6:log[/data/logs/test.log,(incorrect|FAIL)].last(0)}=0 Created: 2011 Jun 28  Updated: 2017 May 30  Resolved: 2011 Jul 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 1.8.5
Fix Version/s: None

Type: Incident report Priority: Critical
Reporter: Igor Danoshaites (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: File additional-tests.diff    
Issue Links:
Duplicate
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBX-3963 test subtask Sub-task Closed Konstantin Buravcov  

 Description   

When creating trigger with trigger expression like "

{H6:log[/data/logs/test.log,(incorrect|FAIL)].last(0)}

=0", then after clicking "Save" button got the following error:

"Incorrect curly braces count in expression.
Check expression part starting from "

{H6:log[/data/logs/test.log,(incorrect|FAIL)].last(0)}

=0"

In case I am using the following trigger expression "

{H6:log[/data/logs/test.log,"(incorrect|FAIL)"].last(0)}

>1" then all is working fine.



 Comments   
Comment by Konstantin Buravcov (Inactive) [ 2011 Jun 29 ]

Fixed in dev branch ZBX-3911

Comment by Konstantin Buravcov (Inactive) [ 2011 Jul 19 ]

Merged: branches/1.8 20653

Generated at Tue Apr 23 09:41:57 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.