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

Possibility of false switching trigger to PROBLEM/OK

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 1.8.16rc1
    • Server (S)
    • None

      25 Oct 2012 14:13:07 test trigger OK Not classified 7m 30s No -
      12277:20121025:141309.050 In zbx_substitute_functions_results() ifuncs_num:2 tr_num:1
      12277:20121025:141309.050 zbx_substitute_functions_results() expression[0]:'(

      {12138}>100)|({12139}<0)' => '(85>100)|(1<0)'
      12277:20121025:141309.050 End of zbx_substitute_functions_results()
      12277:20121025:141309.050 End of substitute_functions()
      12277:20121025:141309.050 In evaluate() expression:'(85>100)|(1<0)'
      25 Oct 2012 14:12:37 test trigger PROBLEM Not classified 30s No -
      12282:20121025:141238.993 zbx_substitute_functions_results() expression[0]:'({12138}

      >1)|(

      {12139}<0)' => '(85>1)|(1<0)'
      12282:20121025:141238.993 End of zbx_substitute_functions_results()
      12282:20121025:141238.993 End of substitute_functions()
      12282:20121025:141238.994 In evaluate() expression:'(85>1)|(1<0)'
      25 Oct 2012 14:12:07 test trigger OK Not classified 30s No -
      12280:20121025:141208.927 zbx_substitute_functions_results() expression[0]:'({12138}>100)|({12139}

      <0)' => '(85>100)|(1<0)'
      12280:20121025:141208.927 End of zbx_substitute_functions_results()
      12280:20121025:141208.927 End of substitute_functions()
      12280:20121025:141208.927 In evaluate() expression:'(85>100)|(1<0)'
      <here macro TEST_MACRO1 has been changed to 100>
      25 Oct 2012 14:11:07 test trigger PROBLEM Not classified 1m No
      12283:20121025:141108.820 zbx_substitute_functions_results() expression[0]:'(

      {12138}

      >1)|(

      {12139}

      <0)' => '(85>1)|(1<0)'
      12283:20121025:141108.820 End of zbx_substitute_functions_results()
      12283:20121025:141108.820 End of substitute_functions()
      12283:20121025:141108.820 In evaluate() expression:'(85>1)|(1<0)'

      But another process 12282 did not know about changed TEST_MACRO1!

      (

      {localhost:proc.num[zabbix_server_18].last(0)}

      >{$TEST_MACRO1})|(

      {localhost:proc.num[snmpd].last(0)}

      <{$TEST_MACRO2}).

      Period update items is 30 seconds.

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: