Ad Widget

Collapse

Calculated item providing errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amolsingh74
    Junior Member
    • Apr 2019
    • 1

    #1

    Calculated item providing errors

    I have created a calculated item with a formula that will calculate the rate at which my volume is being used up, and in the math if I divide the free space by the rate I get time to fill.

    Below is my formula:
    (last("vfs.fs.size[/boot,free]")/((last("vfs.fs.size[/boot,used]") - (prev("vfs.fs.size[/boot,used]")/(time-prev_time))

    Every time I run it I get the error:"Cannot evaluate expression: expected numeric token at "time-prev_time))"."

    So I assumed it was something with the key for time, and the way I used it but I verified it in this doc https://www.zabbix.com/documentation...fig/items/item that time-prev_time is an actual thing.

    So I am not sure what the issue is here? Any help would be appreciated.
Working...