Ad Widget

Collapse

calculated items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mma
    Member
    • Apr 2010
    • 39

    #1

    calculated items

    Hello,

    First, I'm a French student so... sorry for my (bad) English...

    I want to calculate a very easy think : the used space in memory in a Windows.
    I tried vm.memory.size[total]-vm.memory.size[free] and many others syntaxes but it doesn't work... With last() too...

    If some can help me, I didn't find documentation on the syntax, just this page :
    http://www.zabbix.com/documentation/...l/config/items

    I always have :
    20486:20100406:120013.652 Format error or unsupported operator. Exp: [vm.memory.size[total]]
    20486:20100406:120013.652 Format error or unsupported operator. Exp: [vm.memory.size[total]]
    20486:20100406:120013.652 Item [CYRES037:vm.memoryUsed] error: Format error or unsupported operator. Exp: [vm.memory.size[total]]

    bye !
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,


    You wil find the documentation for calculated items here:
    http://www.zabbix.com/documentation/...lculated_items

    In your case, I think proper syntax would be:
    Code:
    last("vm.memory.size[total]")-last("vm.memory.size[free]")
    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • mma
      Member
      • Apr 2010
      • 39

      #3
      Thank you very much.

      I don't know why I didn't try this syntax... I seemed to have tried...
      But now It's work !

      thank you again.

      Comment

      Working...