Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8383

Default tomcat template have wrong items

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018
    • Story Points:
      0.5

      Description

      Gyus!

      Template "Template JMX Tomcat", that shipped with zabbix have no escape of " in the names of Mbeans.
      This leads taht most part of items in template are not-supported. Unfortunately, due to the problem I spent several hours investigating this trivial issue. I'm sure many other people too.

      E.g:

      Instead of 
      jmx["Catalina:type=GlobalRequestProcessor,name=http-8080",bytesReceived]
      
      you should use:
      jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8080\"",bytesReceived]
      

      This link helped me:
      https://www.zabbix.com/forum/showthread.php?t=36714
      And you could consider using this template:
      https://gist.github.com/hgomez/32091...x-template-xml
      It works like a charm for me after setting the values of macroses in templates:
      {$AJP_PORT} 8009
      {$CONNECTOR_MODE} bio
      {$HTTPS_PORT} 8443
      {$HTTP_PORT} 8080

      Could you please fix default tomcat template?

        Attachments

          Activity

            People

            • Assignee:
              Kalimulin Alex Kalimulin
              Reporter:
              killout k l
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: