Ad Widget

Collapse

Cannot evaluate expression: "Cannot evaluate function not enough data.".

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SergeiChechev
    Junior Member
    • May 2021
    • 8

    #1

    Cannot evaluate expression: "Cannot evaluate function not enough data.".

    Hello, I need help, I compiled such an item for the test, checked the zabbix_get, I receive the data. But when I create a trigger for validation, does it give me this error? Cannot evaluate expression: "Cannot evaluate function "server_name:system.run["echo 1"].last()": not enough data.". I need this test for a more complex script.
  • SergeiChechev
    Junior Member
    • May 2021
    • 8

    #2
    The item does not give me errors, and I check zabbix_get system.run ("echo 1") and get 1 in response, but when I put the value of the item in the trigger, it gives this error "not enough data"?

    Comment

    • SergeiChechev
      Junior Member
      • May 2021
      • 8

      #3
      Now I understand you, in "Latest data" -> [no data], zabbix does not read data from stdout?

      Comment

      • SergeiChechev
        Junior Member
        • May 2021
        • 8

        #4
        "The return value of the item is standard output together with standard error produced by command. The exit code is not checked." yes, I read this, maybe I misunderstood manual... Sorry, Now I shutdown my test VM with zabbix, but yes, I have set item to "do not keep history" I will show screenshot later.. Is there a way to check the standout or command output through the zabbix-agent?

        Comment

        Working...