Ad Widget

Collapse

Calculated Items with JMX Keys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpvillalobos
    Junior Member
    • Feb 2015
    • 1

    #1

    Calculated Items with JMX Keys

    Hello Zabbix users,
    I am currently looking for an easy way to get the amount of memory consumed on a Linux box and I have failed miserably to do so in all different ways I have tried so far.

    I am trying to get this Calculated item on a template but Zabbix keeps complaining with errors in the calculated formula, invalid keys and all sort of different messages which to me look like some sort of invalid "quote" or character parsing.

    Here is what I am trying right now:

    last("jmx[\"java.lang:type=OperatingSystem\",\"TotalPhysical MemorySize\"]")-
    last("jmx[\"java.lang:type=OperatingSystem\",\"FreePhysicalM emorySize\"]")

    Any help on this matter will be widely appreciated.
    Thank you very much, JP.
Working...