Nasibulloh Yandashev
Nasibulloh Yandashev

Reputation: 591

How to enable Zabbix tomcat received bytes per second item?

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?

enter image description here

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

Answers (2)

larpir
larpir

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

Anatoly Samoylenko
Anatoly Samoylenko

Reputation: 701

Try

jmx["Catalina:type=GlobalRequestProcessor,name=\"http-8080\"",bytesReceived]

or

jmx["Catalina:type=GlobalRequestProcessor,name=\"http-nio-8080\"",bytesReceived]

Upvotes: 1

Related Questions