[ZBX-12086] Trigger expression broken after Discovery Created: 2017 Apr 20 Updated: 2017 May 30 Resolved: 2017 Apr 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.2.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Michael P | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | Discovery, LLD, Server | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Trigger expression on Host is broken after LLD. Template Prototype: {Template OS Windows Active:service.info[{#SERVICE.NAME},startup].last()}=0 and {Template OS Windows Active:service.info[{#SERVICE.NAME},state].min(#3)}<>0 Host Prototype: {fqdn.domain.tld:service.info[{#SERVICE.NAME},startup].last()}=0 and {fqdn.domain.tld:service.info[{#SERVICE.NAME},state].min(#3)}<>0 Created LLD Trigger: {fqdn.domain.tld:service.info[Appinfo,startup].last()}=0 and {fqdn.domain.tld:service.info[Appinfo,state].min(#3)}< When switching the expression around it truncates after "last()}" {fqdn.domain.tld:service.info[Appinfo,state].min(#3)}<>0 and {fqdn.domain.tld:service.info[Appinfo,startup].last()} It seems not to be related to the expression length as I have other, longer, expressions that work without any problem. The Item in the database (PostgreSQL 9.5) is also truncated. SELECT "expression" FROM "public"."triggers" WHERE "triggerid" = '49698' "{31711832}=0 and {31711833}<" Trigger Prototype: SELECT "expression" FROM "public"."triggers" WHERE "triggerid" = '49643' {31706903}=0 and {31706904}<>0 Template: SELECT "expression" FROM "public"."triggers" WHERE "triggerid" = '14803' "{31604268}=0 and {31604269}<>0" |
Comments |
Comment by richlv [ 2017 Apr 20 ] |
might be another instance of |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Apr 21 ] |
Closing as Duplicate of |