Ad Widget

Collapse

Zabbix JMX Tomcat Catalina items are not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nasibulloh Yandashev
    Junior Member
    • Jan 2019
    • 5

    #1

    Zabbix JMX Tomcat Catalina items are not working

    Hi everyone, I have a question. The question is that when I use JMX agent I cannot get tomcat's metrics, such as Tomcat htt-nio-8080 received and sent bytes. I added key like this jmx["Catalina:type=GlobalRequestProcessor,name="ht tp-bio-8080"",bytesReceived].
    But nothing worked. I got only "Not Supported" status. Please help me solve this problem.
  • vso
    Zabbix developer
    • Aug 2016
    • 190

    #2
    There are new templates in latest version of Zabbix, I believe it should be:
    Code:
    jmx["Catalina:type=GlobalRequestProcessor,name=\"http-nio-8080\"",bytesReceived]

    Comment

  • Nasibulloh Yandashev
    Junior Member
    • Jan 2019
    • 5

    #3
    I run my server with java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<server_ip> -jar target/app.jar.
    Do I need to add anything? My project in spring.

    Comment

    • Nasibulloh Yandashev
      Junior Member
      • Jan 2019
      • 5

      #4
      Do I need to add any additional libraries to the tomcat?. Zabbix is working but I cannot see Catalina dependencies. For example. I could not see Tomcat Bytes Sent and Bytes Received. I added them
      jmx["Catalina:type=GlobalRequestProcessor,name="ht tp-nio-8080"",bytesReceived] but anyway I did not work. status: Not Supported. I tried to use another Monitoring service.The service is Java's JConsole. In JConsole I didnot see any received or sent bytes of tomcat.

      Comment

      Working...