Ad Widget

Collapse

invalid parameter "/1/params": incorrect usage of function "last"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel Liang
    Junior Member
    • Jan 2022
    • 1

    #1

    invalid parameter "/1/params": incorrect usage of function "last"

    Hello All

    I have created an item using memory check but I am getting below error :

    Name : Used memory check
    Type : Calculated
    Key : vm.memory.size[used]
    Formula : (last("vm.memory.size[total]")-last("vm.memory.size[available]"))
    Type of information : Numeric unsigned
    Units : B

    This item status shows Error :: invalid parameter "/1/params": incorrect usage of function "last"
    May I get some help ?

    Thanks
  • Dempisei
    Junior Member
    • Mar 2022
    • 1

    #2
    Hello Daniel.

    last(//vm.memory.size[total])-last(//vm.memory.size[available])

    That's how it works for me.

    At some Zabbix's version, you may use // instead of " .

    Comment

    Working...