Dear All,
Which one of the below configurations will work to cover all queues with the prefix RICH? OR
Will this totally not work?


Regards,
Babar
Dear All,
Which one of the below configurations will work to cover all queues with the prefix RICH? OR
Will this totally not work?


Regards,
Babar
Hello @AgniLanka
Thank you for your comments. We are mainly interested in the queue depth. Will this configuration work?
Our objective is to alert when a certain number increases in the Queue Depth for a certain time and for a certain group of the Queues.
Regards,
Babaar
Yes. It should work.
whatâs your metric ?
Queue depth.
Iâm unable to follow. As far as I know, there is no queue depth metric, as in, âQueue Depthâ.
Sample metric is : builtin:tech.kafka.kafka.network.RequestChannel.RequestQueueSize.Value
Can you take a screenshot and show me the queuedepth metric you are referring to?
Another Sample, for you, if I go ahead with the below Configuration, the Custom_Alert will be a catch_all for âQueue Depthâ across all services/queues/dimensions with by the names like âCLOUD_â
This configuration will take up to the queue manager level but not to the individual queue levels.
e.g. a queue manager can have several types of queues but we are interested to alert on a few of them when the queue depth will reach a certain limit.
Hi @Babar_Qayyum,
you are almost there, the specific metric you want is indeed ext:tech.IBMMQ_Java.Queue.Depth
That metric will have the different queues as dimensions, which you can select on which one to alert on a desired depth.
This is a metrics based off the queues, you can identify this in the metric key, from left to right like a drop down ext:tech.IBMMQ_Java.Queue.Depth
You can identify on which entity the metric is based (dimension) by looking at the highlighted section below
Best,
Mark
Hello @mark_bley
Thank you for your comments. The discussion started from the same point. We can definitely use the dimension filter but in this way, you will have to create too many rules. Our objective is to achieve through one rule.
Regards,
Babar
You can add the desired queues to a specific management zone
Or tag all important queues
You can tag (or by this means also use the following rule in a management zone) e.g. using properties/tags of the underlying process groups of the queues with following selector
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isInstanceOf(type(PROCESS_GROUP),tag("some_key:some_value"))))
Exactly. I am looking for the same. How to tag individual queues?
Hello @mark_bley
How did you get the above entity? I hope that I already mentioned that we are collecting this data using the IBM MQ extension. In my case, I am
Regards,
Babar
You will need an entity selector, what you pasted in the box is a metric query.
I think a selector like this one could work for you:
type(QUEUE),entityName("RICH_BMC_Notification_Req")
Hello @mark_bley
Great! It worked for me now. Can I add multiple entities in the same rule?
Regards,
Babar
yes you can with e.g. following selector
type(QUEUE),entityName.in("RICH_BMC_Notification_Req", "some_other_queue_name")
The names need match exactly what is shown as the display name for each queue.
If it worked before for one it should still be showing at least that one in the preview, make sure you are copying exactly the display name.