Ad Widget

Collapse

Zabbix Monitoring JMX - Multiples Interfaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brunobione
    Junior Member
    • Jun 2015
    • 4

    #1

    Zabbix Monitoring JMX - Multiples Interfaces

    Hi guys,
    I have trying to monitoring multiple interface JMX, but only with the first i can.
    In a item like:
    jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionCount]
    jmx interface 1: 9001
    jmx interface 2: 9002
    jmx interface 3: 9003
    jmx interface 4: 9004
    Can i specify the JMX interface that this item should use?
    I have 4 JMX interface in the same host, because my Tomcat 6 has work with a loadbalance of workers and i want to monitoring all workers.
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Yes, that's basically possible but you might suffer from various issues and shortcomings.
    Some notable ones are mentioned in ZBX-8623.

    Anyhow, on host level one can chose via a combo-box which host interface to use for an item:

    Comment

    • brunobione
      Junior Member
      • Jun 2015
      • 4

      #3
      Thanks for the answer

      But what I need is actually a way of informing the item JMX port that it will use, otherwise have to add the item and after that change the JMX port

      Comment

      • BDiE8VNy
        Senior Member
        • Apr 2010
        • 680

        #4
        Not sure whether I understand you correctly.
        You can add as many (JMX) host interfaces as you want. Eeach of them has dedicated IP address and port configuration.

        Comment

        • brunobione
          Junior Member
          • Jun 2015
          • 4

          #5
          I'm sorry if I did not explain right.



          For example, I've set four jmx interfaces to the same host. When I add a new item to manually go in and specify the item jmx port that it will use in my case between 9001 and 9004.

          I wonder if there is some form of the item itself, or within the key I inform this jmx port

          Comment

          • BDiE8VNy
            Senior Member
            • Apr 2010
            • 680

            #6
            Ah, i see! no, that's unfortunately not supported yet.
            See ZBXNEXT-735 and probably vote for it.

            Comment

            • brunobione
              Junior Member
              • Jun 2015
              • 4

              #7
              I understand. thanks for the help friend.

              Comment

              Working...