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

Recovery expression with nodata() doesn't work properly

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.2.3
    • Server (S)
    • Linux zabbix-server 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

      I have the following log check item and a recovery expression based on it:

      the log check trigger:

      {app1:log[/usr/local/tomcat/apache-tomcat-8.0.36/logs/catalina.out,"Exception",,,,].regexp(Exception)}=1
      

      the recovery expression:

      {app1:log[/usr/local/tomcat/apache-tomcat-8.0.36/logs/catalina.out,"Exception",,,,].nodata(100)}=1
      

      ------------------

      The trigger works fine, but after it was fired, it won't close(turn to OK state) based on the recovery expression.

            Unassigned Unassigned
            lijian Jian Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: