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

trigger becames [Cannot evaluate function ] status when the value of items contains double quotation.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 2.2.6
    • Server (S)
    • Linux rchcga00 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      My trigger becames [Cannot evaluate function ] status when the value of items contains double quotation(").

      I use log monitoring item key(log) and use the following trigger.

      ({Template_JBossLogMonitor:log[/opt/jboss-6.1.0.Final/server/{$JBOSS_SERVICE_NAME}/log/framework.log,@jboss_framework_log_error_message,UTF-8,1].str(",SYSTEM_ERROR,")})#0

      When the message which contains double quotation is output in the log file , my trigger becomes [Cannot evaluate function ] status.
      Following is the message.

      2014/10/01 11:30:52,e8b413d36184_ALT_20141001084039001,SYSTEM_ERROR,[ASE__00008]It failed in the state change "5" of the schedule "7974:CopyRptEarningForecastLoad".

      I extract log when this problem occurred.
      Could you tell me good solutions.

      11965:20141001:165219.599 item "web01:log[/opt/jboss-6.1.0.Final/server/{$JBOSS_SERVICE_NAME}/log/framework.log,@jboss_framework_log_error_message,UTF-8,1]" became supported

      11965:20141001:165219.603 In DCget_nextid() table:'history_log' num:1
      11965:20141001:165219.603 End of DCget_nextid() table:'history_log' [60379:60379]
      11965:20141001:165219.603 query [txnlev:1] [insert into history_log (id,itemid,clock,ns,timestamp,source,severity,value,logeventid) values (60379,25114,1412149930,764461556,1412130652,'',0,'2014/10/01 11:30:52,e8b413d36184_ALT_20141001084039001,SYSTEM_ERROR,[ASE__00008]It failed in the state change "5" of the schedule "7974:CopyRptEarningForecastLoad".',0);
      ]

      11965:20141001:165219.623 evaluate_expressions():expression [(

      {14664}

      )#0] cannot be evaluated: Cannot evaluate function "web01:log[/opt/jboss-6.1.0.Final/server/{$JBOSS_SERVICE_NAME}/log/framework.log,@jboss_framework_log_error_message,UTF-8,1].str(",SYSTEM_ERROR,")": item is not supported.

      11965:20141001:165219.625 query [txnlev:1] [update triggers set error='Cannot evaluate function "web01:log[/opt/jboss-6.1.0.Final/server/{$JBOSS_SERVICE_NAME}/log/framework.log,@jboss_framework_log_e' where triggerid=14174;
      ]

      (I attached all zabbix server log when this problem occuerd)

            Unassigned Unassigned
            kabechoro Tetsuhiko Tokuda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: