Ad Widget

Collapse

Keys and multiple JMX(Tomcat) instances on same host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meme
    Junior Member
    • Aug 2016
    • 1

    #1

    Keys and multiple JMX(Tomcat) instances on same host

    Hi,

    I've got some machines which conains several spring-boot-instances which I'd like to monitor. At first I tried to give jmx a chance. But I've got trouble with the setup of the monitoring:
    Every instance of spring-boot has got an tomcat running and is configured to provide JMX on a diffrent port.
    The connection to the diffrent ports can be done by zabbix easily.

    If I'm attaching the first template (Template JMX Tomcat) everything works well. I'm attaching the checks to the proper JMX-Interface and also everything is good. But when I try to add a second template (a full clone of the first) I run into trouble because the keys are already in use.

    If I look into these keys I've found no options to set an "alias" or something similar to differentiate between the both instances (or to apply the second (cloned) template).

    I've read about the "whitespace" solution, but i can't do that for about 8 instances of tomcats running on the same host. Because it's hard to differentiate between the ones with 5,6 or 7 whitespaces...

    Can anybody give a hint how to do that?

    Marc
Working...