Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12086

Trigger expression broken after Discovery

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.2.4
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:

      Description

      Trigger expression on Host is broken after LLD.
      It got truncated after the "<" sign.

      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.
      Created Trigger:

      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"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Daywalker Michael Polanz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: