Ad Widget

Collapse

Jmx Items adding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anjiytwok
    Member
    • Dec 2012
    • 44

    #1

    Jmx Items adding

    Hi,

    Is it possible in Zabbix that, Can I add two more jmx items and make it to item3?

    example:
    Item1 data I am able to pull it and able to show it in graph similarly Item2

    But I would like to sum both the item values and draw graph
    Item1 : jmx[<object name1>,<attribute name1>]
    Item2 : jmx[<object name2>,<attribute name2>]


    now Item3 = Item1 + Item 2
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    Take a look at calculated items. It does exactly what you're asking.

    Comment

    • anjiytwok
      Member
      • Dec 2012
      • 44

      #3
      first i would like to thank for your quick respose.

      Yes. I saw it in the discussion fourms.

      But where exactly I need to configure it. when I configure/create a items
      it will take only in this formate jmx[objectname,attributename].

      where exactly i can configure the calculated items in zabbix.

      It'd be great if can help me out. Thank you once again.

      Comment

      • heaje
        Senior Member
        Zabbix Certified Specialist
        • Sep 2009
        • 325

        #4
        Take a look at this part of the documentation: https://www.zabbix.com/documentation...pes/calculated

        It explains about calculated items. Essentially, you need to create a new item, set the type to "Calculated", and put whatever you want (it really doesn't matter) into the key field. The part that matters is the "formula" field. Yours will more than likely look like this:

        last(jmx[<object name1>,<attribute name1>])+last(jmx[<object name2>,<attribute name2>])

        Comment

        Working...