VMware Cloud Community
vherilier
Contributor
Contributor

issue with MQ Series plugin configuration

Hi,

using Hyperic HQEE 4.6.6, I try to monitor MQ Series activity with the related plugin. But I don't succeed in configuring the server monitoring.

I've created a new server monitoring (WSMQ7) with its related type as "Websphere MQ QManager 7" and gave it the install path of the MQ server.

Then, the plugin ask me to modify the "configuration properties".

Giving it a "queue.manager.name" and validating the input QM_HUB, the plugin says that "The configuration has not been set for this resource due to : Invalid  configuration: Error contacting resource:  mqseries-mgr:Mgr=QM_HUB:ConnectionCount".

Do you have an idea where I'm wrong in my configuration or if it's coming from my MQ server.

Thanks for helping me with this issue

Vincent

-----------------------------------------------------------------------------------------------

my env and logs :

* the MQ server monitored is a 7.1.0.1 one under a Linux 64bits

* server.log:

05-11-2012 15:35:04,026 CET INFO  [RuntimeAIEnabler1] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl@780] Toggling Runtime-AI for 2:10025
05-11-2012 15:35:04,033 CET ERROR [tomcat-http--32] [org.hyperic.hq.ui.action.resource.common.inventory.EditConfigPropertiesAction@311] Invalid config org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error contacting resource:mqseries-mgr:Mgr=QM_HUB:ConnectionCount
05-11-2012 15:35:04,601 CET INFO  [RuntimeAIEnabler1] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerImpl@780] Toggling Runtime-AI for 2:10025
05-11-2012 15:35:04,603 CET WARN  [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerImpl@1650] Error turning on default metrics, configuration (platform.log_track.level=Warn,platform.type=Linux,platform.ip=10.103.44.110,platform.name=dvdsif47,platform.log_track.enable=true,platform.config_track.enable=true,installpath=/opt/mqm/,platform.id=10003,                                                  platform.fqdn=10.197.87.110,) couldn't be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1568)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.enableDefaultMetrics(MeasurementManagerImpl.java:1648)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.handleCreateRefreshEvents(MeasurementManagerImpl.java:1467)
        at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
        at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy60.handleCreateRefreshEvents(Unknown Source)
        at org.hyperic.hq.measurement.server.session.MeasurementEnabler.processEvents(MeasurementEnabler.java:85)
        at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:42)
        at org.hyperic.hq.zevents.BufferedListener$BufferedEventRunnable.run(BufferedListener.java:64)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.agent.client.AgentMonitor.getLiveValues(AgentMonitor.java:191)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.getLiveMeasurementValues(MeasurementManagerImpl.java:1603)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1566)
        ... 29 more
05-11-2012 15:35:05,239 CET WARN  [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerImpl@1650] Error turning on default metrics, configuration (platform.log_track.level=Warn,platform.type=Linux,platform.ip=10.103.44.110,platform.name=dvdsif47,platform.log_track.enable=true,platform.config_track.enable=true,installpath=/opt/mqm/,platform.id=10003,platform.fqdn=10.197.87.110,) couldn't be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1568)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.enableDefaultMetrics(MeasurementManagerImpl.java:1648)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.handleCreateRefreshEvents(MeasurementManagerImpl.java:1467)
        at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
        at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy60.handleCreateRefreshEvents(Unknown Source)
        at org.hyperic.hq.measurement.server.session.MeasurementEnabler.processEvents(MeasurementEnabler.java:85)
        at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:42)
        at org.hyperic.hq.zevents.BufferedListener$BufferedEventRunnable.run(BufferedListener.java:64)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Error contacting resource: mqseries-mgr:Mgr=%queue.manager.name%:ConnectionCount
        at org.hyperic.hq.measurement.agent.client.AgentMonitor.getLiveValues(AgentMonitor.java:191)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.getLiveMeasurementValues(MeasurementManagerImpl.java:1603)
        at org.hyperic.hq.measurement.server.session.MeasurementManagerImpl.checkConfiguration(MeasurementManagerImpl.java:1566)
        ... 29 more

* agent.log:

05-11-2012 15:35:03,548 CET ERROR [commandlistener-generic-0] [MeasurementCommandsService@248] Error getting real time measurement: Error contacting resource: mqseries-mgr:Mgr=QM_HUB:ConnectionCount
05-11-2012 15:35:03,554 CET ERROR [commandlistener-generic-0] [MeasurementCommandsService@248] Error getting real time measurement: Error contacting resource: MQJE001: Completion Code '2', Reason '2495'.

0 Kudos
3 Replies
densingh12
Contributor
Contributor

Hi

We are also facing the similar problem with IBM MQ monitoring in hyperic, Did anyone get a FIX for this or can someone guide to resolve this ?

Please find the below error

Invalid configuration: Error contacting resource: MQJE001: Completion Code '2', Reason '2495'.

Any help is much appreciated.

0 Kudos
Rail_Roader
Contributor
Contributor

Any luck with this issue? I'm seeing the same error.

Thanks for any help that you may be able to provide.

RR

0 Kudos
admin
Immortal
Immortal

Please follow by my posts:

Re: vFabric Hyperic 5.7 Standalone - MQ QManager 7 plugin

Re: Issue with IBM MQ monitorig Using Hyperic.

In few words, before you start hq agent you should export LD_LIBRARY_PATH

If you still have a problem, you welcome

Good Luck

0 Kudos