Ad Widget

Collapse

last function in calculated item does not allow "hostname":"item" syntax?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just4fun
    Member
    • Jun 2010
    • 32

    #1

    last function in calculated item does not allow "hostname":"item" syntax?

    Hi,

    for monitoring my vSphere server I'm using the "extended" VMware-templates
    that I found at: https://github.com/higebu/zabbix-template-vmware.

    There is one item defined as calculated item and the formula is:

    Code:
    last("vmware.vm.hv.name[{$URL},{HOST.HOST}]":"vmware.hv.hw.cpu.freq[{$URL},\"vmware.vm.hv.name[{$URL},{HOST.HOST}]\"]") * last("vmware.vm.cpu.num[{$URL},{HOST.HOST}]")
    When using the templates everything is fine except this special calculated item,
    it's going to be "non supported" and the message is:

    Code:
    Invalid first parameter in function [last("vmware.vm.hv.name[{$URL},{HOST.HOST}]":"vmware.hv.hw.cpu.freq[{$URL},\"vmware.vm.hv.name[{$URL},{HOST.HOST}]\"]")]
    Could it be that Zabbix 2.4.2 does not allow the "host":"item" syntax in function
    last when calculating items?
Working...