Hi Team,
I am getting the below error while connecting to activemq through metricbeat.
" ERROR module/wrapper.go:259 Error fetching data for metricset activemq.queue: error making http request: Post "https://:/%3FinitialReconnectDelay=1000&maxReconnectAttempts=3&startupMaxReconnectAttempts=3&maxReconnectDelay=300&randomize=true&timeout=300": net/http: HTTP/1.x transport connection broken: malformed HTTP status code "MaxInactivityDurationInitalDelay\x06\x00\x00\x00\x00\x00\x00'\x10\x00\x13MaxFrameSizeEnabled\x01\x01\x00\x0fProviderVersion\t\x00\x065.18.0" "
activemq.yml file setting:
- module: activemq
metricsets: ['broker', 'queue', 'topic']
period: 10s
hosts: [':']
path: '?initialReconnectDelay=1000&maxReconnectAttempts=3&startupMaxReconnectAttempts=3&maxReconnectDelay=300&randomize=true&timeout=300'
username: user # default username
password: ***** # default password
ssl.verification_mode: none
jolakia.yml settings:
- module: jolokia
#metricsets: ["jmx"]
period: 10s
hosts: [":"]
namespace: "metrics"
path: "?initialReconnectDelay=1000&maxReconnectAttempts=3&startupMaxReconnectAttempts=3&maxReconnectDelay=300&randomize=true&timeout=300"
username: "user"
password: "****"
jmx.mappings:
#- mbean: 'java.lang:type=Runtime'attributes:
- attr: Uptime
field: uptime
#- mbean: 'java.lang:type=Memory'attributes:
- attr: HeapMemoryUsage
field: memory.heap_usage
- attr: NonHeapMemoryUsage
field: memory.non_heap_usage
GC Metrics - this depends on what is available on your JVM
#- mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep'attributes:
- attr: CollectionTime
field: gc.cms_collection_time
- attr: CollectionCount
field: gc.cms_collection_count
- mbean:
attributes:
- attr: Uptime
field: uptime
jmx.application:
jmx.instance:
where I am missing here? Please provide me some suggestions on that