Hi,
I use metricbeat (jolokia) to get jmx information in Websphere.
jmx.mappings:
- mbean: 'WebSphere:type=ThreadPool,name=WebContainer,*'
attributes:- attr: maximumSize
field: threadpool.maximumSize
- attr: maximumSize
The error is:
2020-01-20T17:00:57.768+0100 INFO module/wrapper.go:252 Error fetching data for metricset jolokia.jmx: mbean properties must be in the form key=value: WebSphere:type=ThreadPool,name=
WebContainer,*
But If you put this url:
jolokia-war-1.6.2/read/WebSphere:type=ThreadPool,name=WebContainer,*
the result is:
{"value":{"WebSphere:cell=Cell01,mbeanIdentifier=cells/Cell01/nodes/Node01/servers/server_01_01/server.xml#ThreadPool_1527689262778,name=WebContainer,node=Node01,platform=dynamicproxy,process=Fortuny_01_01,spec=1.0,type=ThreadPool,version=8.0.0.4":{"maximumSize":50,"name":"WebContainer","inactivityTimeout":60000,"growable":true,"minimumSize":50,"stats":{"statistics":[{"lowWaterMark":1,"highWaterMark":4,"unit":"N/A","current":2,"name":"ActiveCount","upperBound":0,"wSImpl":{"enabled":true,"highWaterMark":4,"unit":"N/A","mean":1.245895201393063,"statisticType":7,"name":"ActiveCount","integral":2.6420724E7,"lastSampleTime":1579519581782,"startTime":1579498375565,"lowWaterMark":1,"dataInfo":{"aggregatable":true,"participation":null,"unit":"N/A","level":7,"updateOnRequest":false,"dependency":null,"name":"ActiveCount","statisticSet":"basic","platform":"all","submoduleName":null,"type":5,"id":3,"description":"The number of concurrently active threads.","zosAggregatable":true,"category":"all","comment":"The number of concurrently active threads","resettable":true},"current":2,"id":3,"upperBound":0,"description":"The number of concurrently active threads.","lowerBound":0},"description":"The number of concurrently active threads.","lowerBound":0,"lastSampleTime":1579519581782,"startTime":1579498375565},{"lowWaterMark":1,"highWaterMark":50,"unit":"N/A","current":7,"name":"PoolSize","upperBound":50,"wSImpl":
.........