Ad Widget

Collapse

Unsupported item : Cannot evaluate expression

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manjunathan
    Junior Member
    • Feb 2023
    • 2

    #1

    Unsupported item : Cannot evaluate expression

    Hi,

    I am facing issues with my triggers. which is working earlier but now the items are not supported
    current Zabbix version is Zabbix 4.2.4

    Error:
    Cannot evaluate expression: "Cannot evaluate function "Host:log[/serverlogs/test/server.log, encryptdata/rest/EncryptapplicationData/EncryptDetail: Connection refused,1].last()": item is not supported.".

    Thank you​​
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I think that the item log[] has not been acquired. Please check the log to see why the log cannot be retrieved. For example, the user running Zabbix agent may not have permission to access that log files.

    Comment

    • manjunathan
      Junior Member
      • Feb 2023
      • 2

      #3
      Dear Atsushi​,

      Thank you so much for the reply.

      I can able to ping the log server from zabbix . Also i can able to monitor the other log file from same server.
      Eg: item key: log[/home/rest/response/mmmmmm.log] -- this item and trigger is working fine


      Need to monitor the below mentioned logfile based on error keywords from same server but logfile path is different

      item Key: log[/home/ac_log/application/mmmmmm.log,java.lang.NoClassDefFoundError: Could not initialize class xxxxx.yyyyy.jni.JSGFPLib,1]
      Type of information: log
      Trigger: log[/home/ac_log/application/mmmmmm.log,java.lang.NoClassDefFoundError: Could not initialize class xxxxx.yyyyy.jni.JSGFPLib,1].logsource()}=1

      (is there any issue with error log keywords)

      Thank you​
      Attached Files

      Comment

      Working...