Ad Widget

Collapse

jmx templete issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • forbag.cn
    Junior Member
    • Nov 2013
    • 1

    #1

    jmx templete issue

    monitor tomcat with Template JMX Generic zabbix 2.2.0

    show some error like:
    PHP Code:
      3648:20131119:094907.241 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.used]] became not supportedjava.lang:type=MemoryPool,name=Perm Gen
      3648
    :20131119:094907.242 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.committed]] became not supportedjava.lang:type=MemoryPool,name=Tenured Gen
      3648
    :20131119:094907.242 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.used]] became not supportedjava.lang:type=MemoryPool,name=Tenured Gen
      3648
    :20131119:094907.243 item [tomcat103:jmx["java.lang:type=OperatingSystem",ProcessCpuLoad]] became not supportedNo such attributeProcessCpuLoad
      3650
    :20131119:100008.772 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=CMS Old Gen
      3650
    :20131119:100008.773 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=CMS Perm Gen
      3650
    :20131119:100008.773 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=Perm Gen
      3650
    :20131119:100008.773 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.max]] became not supportedjav 

    and with temple jmx tomcat show some error like
    PHP Code:
    3649:20131116:022012.362 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=jk-8009",errorCount]] became not supportedCatalina:type=GlobalRequestProcessor,name=jk-8009
      3648
    :20131116:022107.572 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8080",bytesReceived]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8080
      3648
    :20131116:022107.572 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8080",bytesSent]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8080
      3648
    :20131116:022107.573 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8080",errorCount]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8080
      3648
    :20131116:022107.574 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8080",processingTime]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8080
      3648
    :20131116:022107.574 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8080",requestCount]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8080
      3648
    :20131116:022107.575 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8443"bytesSent]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8443
      3648
    :20131116:022107.575 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8443",bytesReceived]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8443
      3648
    :20131116:022107.576 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8443",errorCount]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8443
      3648
    :20131116:022107.576 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8443",processingTime]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8443
      3648
    :20131116:022107.577 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=http-8443",requestCount]] became not supportedCatalina:type=GlobalRequestProcessor,name=http-8443
      3648
    :20131116:022107.578 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=jk-8009"bytesReceived]] became not supportedCatalina:type=GlobalRequestProcessor,name=jk-8009
      3648
    :20131116:022107.578 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=jk-8009",bytesSent]] became not supportedCatalina:type=GlobalRequestProcessor,name=jk-8009
      3648
    :20131116:022107.578 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=jk-8009",processingTime]] became not supportedCatalina:type=GlobalRequestProcessor,name=jk-8009
      3648
    :20131116:022107.579 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=jk-8009",requestCount]] became not supportedCatalina:type=GlobalRequestProcessor,name=jk-8009
      3648
    :20131116:022107.579 item [tomcat103:jmx["Catalina:type=Manager,path=/,host=localhost",activeSessions]] became not supportedCatalina:type=Manager,path=/,host=localhost
      3648
    :20131116:022107.580 item [tomcat103:jmx["Catalina:type=Manager,path=/,host=localhost",maxActive]] became not supportedCatalina:type=Manager,path=/,host=localhost
      3648
    :20131116:022107.580 item [tomcat103:jmx["Catalina:type=Manager,path=/,host=localhost",rejectedSessions]] became not supportedCatalina:type=Manager,path=/,host=localhost
      3648
    :20131116:022107.581 item [tomcat103:jmx["Catalina:type=Manager,path=/,host=localhost",sessionCounter]] became not supportedCatalina:type=Manager,path=/,host=localhost
      3648
    :20131116:022107.582 item [tomcat103:jmx["Catalina:type=ThreadPool,name=http-8080",currentThreadCount]] became not supportedCatalina:type=ThreadPool,name=http-8080
      3648
    :20131116:022107.582 item [tomcat103:jmx["Catalina:type=ThreadPool,name=http-8080",currentThreadsBusy]] became not supportedCatalina:type=ThreadPool,name=http-8080
      3648
    :20131116:022107.583 item [tomcat103:jmx["Catalina:type=ThreadPool,name=http-8443",currentThreadCount]] became not supportedCatalina:type=ThreadPool,name=http-8443
      3648
    :20131116:022107.583 item [tomcat103:jmx["Catalina:type=ThreadPool,name=http-8443",currentThreadsBusy]] became not supportedCatalina:type=ThreadPool,name=http-8443
      3648
    :20131116:022107.583 item [tomcat103:jmx["Catalina:type=ThreadPool,name=jk-8009",currentThreadCount]] became not supportedCatalina:type=ThreadPool,name=jk-8009
      3648
    :20131116:022107.584 item [tomcat103:jmx["Catalina:type=ThreadPool,name=jk-8009",currentThreadsBusy]] became not supportedCatalina:type=ThreadPool,name=jk-8009
      3651
    :20131116:024007.660 item [openx:mysql.versionbecame not supportedNot supported by Zabbix Agent
      3651
    :20131116:024102.762 item [mysqlmaster:mysql.versionbecame not supportedNot supported by Zabbix Agent
      3651
    :20131116:030010.790 item [tomcat103:jmx["Catalina:type=Manager,path=/,host=localhost",maxActiveSessions]] became not supportedCatalina:type=Manager,path=/,host=localhost
      3651
    :20131116:030010.790 item [tomcat103:jmx["Catalina:type=ProtocolHandler,port=8443",compression]] became not supportedCatalina:type=ProtocolHandler,port=8443
      3651
    :20131116:030010.791 item [tomcat103:jmx["Catalina:type=ThreadPool,name=http-8080",maxThreads]] became not supportedCatalina:type=ThreadPool,name=http-8080
      3651
    :20131116:030010.791 item [tomcat103:jmx["Catalina:type=ThreadPool,name=http-8443",maxThreads]] became not supportedCatalina:type=ThreadPool,name=http-8443
      3651
    :20131116:030010.792 item [tomcat103:jmx["Catalina:type=ThreadPool,name=jk-8009",maxThreads]] became not supportedCatalina:type=ThreadPool,name=jk-8009
      3649
    :20131118:171908.647 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\""bytesSent]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:171908.647 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",bytesReceived]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:171908.648 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",errorCount]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:171908.648 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",processingTime]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:171908.648 item [tomcat103:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",requestCount]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:171908.649 item [tomcat103:jmx["Catalina:type=ThreadPool,name=\"http-bio-8443\"",currentThreadCount]] became not supportedCatalina:type=ThreadPool,name="http-bio-8443"
      
    3649:20131118:171908.649 item [tomcat103:jmx["Catalina:type=ThreadPool,name=\"http-bio-8443\"",currentThreadsBusy]] became not supportedCatalina:type=ThreadPool,name="http-bio-8443"
      
    3649:20131118:172018.917 item [mysqlproxy:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\""bytesSent]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:172018.923 item [mysqlproxy:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",bytesReceived]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:172018.932 item [mysqlproxy:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",errorCount]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:172018.939 item [mysqlproxy:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",processingTime]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:172018.945 item [mysqlproxy:jmx["Catalina:type=GlobalRequestProcessor,name=\"http-bio-8443\"",requestCount]] became not supportedCatalina:type=GlobalRequestProcessor,name="http-bio-8443"
      
    3649:20131118:172018.951 item [mysqlproxy:jmx["Catalina:type=ThreadPool,name=\"http-bio-8443\"",currentThreadCount]] became not supportedCatalina:type=ThreadPool,name="http-bio-8443"
      
    3649:20131118:172018.959 item [mysqlproxy:jmx["Catalina:type=ThreadPool,name=\"http-bio-8443\"",currentThreadsBusy]] became not supportedCatalina:type=ThreadPool,name="http-bio-8443"
      
    3648:20131118:172927.102 item [mysqlproxy:net.tcp.service[httpd]] became not supportedSimple check is not supported
      3651
    :20131118:180010.507 item [tomcat103:jmx["Catalina:type=ProtocolHandler,port=8443",compression]] became not supportedCatalina:type=ProtocolHandler,port=8443
      3651
    :20131118:180010.508 item [tomcat103:jmx["Catalina:type=ThreadPool,name=\"http-bio-8443\"",maxThreads]] became not supportedCatalina:type=ThreadPool,name="http-bio-8443"
      
    3651:20131118:180506.764 item [tomcat103:jmx["Catalina:type=Manager,context=/",maxActive]] became not supportedCatalina:type=Manager,context=/
      
    3648:20131118:210909.408 item [tomcat103:jmx["Catalina:type=Manager,context=/",activeSessions]] became not supportedCatalina:type=Manager,context=/
      
    3650:20131118:220007.087 item [tomcat103:jmx["Catalina:type=Manager,context=/",maxActiveSessions]] became not supportedCatalina:type=Manager,context=/
      
    3648:20131119:094907.236 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep",CollectionCount]] became not supportedjava.lang:type=GarbageCollector,name=ConcurrentMarkSweep
      3648
    :20131119:094907.236 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep",CollectionTime]] became not supportedjava.lang:type=GarbageCollector,name=ConcurrentMarkSweep
      3648
    :20131119:094907.236 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=Copy",CollectionCount]] became not supportedjava.lang:type=GarbageCollector,name=Copy
      3648
    :20131119:094907.237 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=Copy",CollectionTime]] became not supportedjava.lang:type=GarbageCollector,name=Copy
      3648
    :20131119:094907.237 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact",CollectionCount]] became not supportedjava.lang:type=GarbageCollector,name=MarkSweepCompact
      3648
    :20131119:094907.238 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact",CollectionTime]] became not supportedjava.lang:type=GarbageCollector,name=MarkSweepCompact
      3648
    :20131119:094907.238 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=ParNew",CollectionCount]] became not supportedjava.lang:type=GarbageCollector,name=ParNew
      3648
    :20131119:094907.239 item [tomcat103:jmx["java.lang:type=GarbageCollector,name=ParNew",CollectionTime]] became not supportedjava.lang:type=GarbageCollector,name=ParNew
      3648
    :20131119:094907.239 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.committed]] became not supportedjava.lang:type=MemoryPool,name=CMS Old Gen
      3648
    :20131119:094907.239 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.used]] became not supportedjava.lang:type=MemoryPool,name=CMS Old Gen
      3648
    :20131119:094907.240 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.committed]] became not supportedjava.lang:type=MemoryPool,name=CMS Perm Gen
      3648
    :20131119:094907.240 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.used]] became not supportedjava.lang:type=MemoryPool,name=CMS Perm Gen
      3648
    :20131119:094907.241 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.committed]] became not supportedjava.lang:type=MemoryPool,name=Perm Gen
      3648
    :20131119:094907.241 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.used]] became not supportedjava.lang:type=MemoryPool,name=Perm Gen
      3648
    :20131119:094907.242 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.committed]] became not supportedjava.lang:type=MemoryPool,name=Tenured Gen
      3648
    :20131119:094907.242 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.used]] became not supportedjava.lang:type=MemoryPool,name=Tenured Gen
      3648
    :20131119:094907.243 item [tomcat103:jmx["java.lang:type=OperatingSystem",ProcessCpuLoad]] became not supportedNo such attributeProcessCpuLoad
      3650
    :20131119:100008.772 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=CMS Old Gen
      3650
    :20131119:100008.773 item [tomcat103:jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=CMS Perm Gen
      3650
    :20131119:100008.773 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=Perm Gen
      3650
    :20131119:100008.773 item [tomcat103:jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.max]] became not supportedjava.lang:type=MemoryPool,name=Tenured Gen 


    change item type.seems does not work.

    these are offical templete, i dont get it.

    give me a hint.thx.
  • kait
    Junior Member
    • Dec 2013
    • 2

    #2
    JMX/Tomcat with Zabbix 2.2

    Hi,

    same problem here. Official template for monitoring JMX/Tomcat with Zabbix 2.2 has many "unsupported items", does anybody have better templates please?

    Thank you.

    Comment

    • mastraze
      Member
      • Jul 2011
      • 30

      #3
      You would better check this . Can be useful

      https://www.zabbix.com/documentation...jmx_monitoring

      Comment

      • killout
        Junior Member
        • Dec 2013
        • 10

        #4
        Same problem for me.

        Zabbix Template tomcat7 contain many items, that are in not supported statte on my installation.

        Can anybody advice how to get list(and description, if exist) of all jmx parameters, that can be monitored on tomcat.

        Comment

        • killout
          Junior Member
          • Dec 2013
          • 10

          #5
          Gyus!

          I have found terrible negligence!
          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:
          Code:
          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:

          And you could consider using this template:
          Zabbix 2.0 Tomcat 7 JMX Template (with and without SSL) - zabbix2-tomcat7-jmx-nossl-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?
          Or may I make a pull request? How to do it?

          Comment

          Working...