Highlighted
Micro Focus Expert
Micro Focus Expert
124 views

SiteScope | Websphere MQ monitor issue

Hi all:

I’ve an issue while monitoring MQ queues with SiteScope.

I’m making a template, which should be able to get all queues objects in the machine and, with a regular expression, get “Current Queue Depth” counter. I’m able to do it with this template:

Untitled.png

The issue is that there are several queues that are “alias” or “remote” queues, so those don’t have that counter “Current Queue Depth”. Due to this, when SiS monitor is trying to get information for a “alias” queues, it throws the following error:

2019-04-16 11:15:36,707 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:879) DEBUG - objectKey : ARES.TO.T3_ACK_PETICION

2019-04-16 11:15:36,707 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:883) DEBUG - mCounters : null

2019-04-16 11:15:36,751 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (AtomicMonitor.java:2352) ERROR - Update Monitor: Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430 Message: java.lang.NullPointerException

java.lang.NullPointerException

 

In a “standard” queue, it works:

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:879) DEBUG - objectKey : ARES.TO.SIAAM_CONSULTA_CIRCUITO

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:883) DEBUG - mCounters : {Current Queue Depth=0, Maximum Queue Depth=50000, Queue Open Output Count=0, Queue Depth in %=0, Queue Open Input Count=0}

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:887) DEBUG - counterKeys : [Current Queue Depth, Maximum Queue Depth, Queue Open Output Count, Queue Depth in %, Queue Open Input Count]

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:892) DEBUG - counterKey : Current Queue Depth

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:902) DEBUG - counterName : Queues\ARES.TO.SIAAM_CONSULTA_CIRCUITO\Current Queue Depth

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:926) DEBUG - getValueIndex

2019-04-16 11:15:36,536 [Queue_CurrentQueueDepth_tesol239_QMENCA2C_1430(1950419570/2) ] (MQStatusMonitor.java:927) DEBUG - counterName : Queues\ARES.TO.SIAAM_CONSULTA_CIRCUITO\Current Queue Depth

 

My question is… Is it possible to have a regular expression to get only the queues which they have counters available (no “n/a”)? .Something like this:

If (Queues\\.*\\Current Queue Depth) is not null; then

/^Queues\\.*\\Current Queue Depth$/

fi

 

Also, I’m thinking of opening a support case to talk with a SiS engineering about java.lang.NullPointerException failure and to know his point of view about it.

 

Any idea/suggestion will be more than welcome.

KR,

Fran

Labels (1)
Tags (1)
0 Likes
2 Replies
Micro Focus Contributor
Micro Focus Contributor

Re: SiteScope | Websphere MQ monitor issue

Hi,

The Queues counters supported by SiteScope are the followings:

  • Current Queue Depth
    • Event: Queue Depth High
    • Event: Queue Depth Low
    • Event: Queue Full
    • Event: Queue Service Interval High
    • Event: Queue Service Interval Ok
    • Queue Depth in %
    • Queue Open Input Count
    • Queue Open Output Count
    • Maximum Queue Depth

Any counter that isn't mentioned in the list, itsn't supported by SiteScope.

WebSphere MQ Monitor Documentation:

 https://docs.microfocus.com/itom/SiteScope:2018.08/Use/MR_Websphere_MQ_Mon

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: SiteScope | Websphere MQ monitor issue

Thanks for your reply.

Regular expression is working and I'm getting supported counters by SiS.

Problem is related to remotes queues, which are not getting properly.

I'm working with support and R&D to try to catch exception and get only information for local queues.

KR,
Fran.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.