Reputation: 591
I'm using Zabbix and I run a java application with some JMX arguments. When I added an item such as Tomcat received bytes, It was not supported. How can I enable this item?
I tried to add catalina-jmx-remote dependency to the application.
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina-jmx-remote</artifactId>
<type>jar</type>
</dependency>
How can I enable tomcat monitoring on the Zabbix?
Upvotes: 1
Views: 963
Reputation: 1
Thanx Anatoly Samoylenko i succese JMX monitoring for "spring boot"
[AS-IS] jmx["Tomcat:type=GlobalRequestProcessor,name=http-nio-80",bytesReceived]
[TO-BE] jmx["Tomcat:type=GlobalRequestProcessor,name=\"http-nio-80\"",bytesReceived]
very very impotant \"
good luck~
Upvotes: 0
Reputation: 701
Try
jmx["Catalina:type=GlobalRequestProcessor,name=\"http-8080\"",bytesReceived]
or
jmx["Catalina:type=GlobalRequestProcessor,name=\"http-nio-8080\"",bytesReceived]
Upvotes: 1