MQ

 View Only
  • 1.  Monitoring paramaters MONQ and MONCHL for Datadog

    Posted Thu April 21, 2022 01:37 AM
    Hi,

    We use Datadog for MQ monitoring, one of the recommandations of dataddog is to set the  MONQ and MONCHL to "MEDIUM".
    Default, at least on our system, the MONQ and MONCHL are set on "OFF", in this state we can monitor our MQ Appliances M2000A - v8.0.0.11 in datadog for queuedepth and lot of other data.

    What is the actual difference between the MONQ and MONCHL set on OFF or set on MEDIUM regarding the data it is fetching from MQ ?
    What is the impact on the performance of the MQ server systems when these params are changed to MEDIUM ?
    What is the usual setting for a production MQ environment regarding MONQ and MONCHL ?

    Kind regards


    ------------------------------
    Bernard Pittens
    Integration Engeneer
    Sligro Foodgroup B.V.
    Veghel
    ------------------------------


  • 2.  RE: Monitoring paramaters MONQ and MONCHL for Datadog

    IBM Champion
    Posted Thu April 21, 2022 02:02 AM

    Hi Bernard,

    Q1) What is the actual difference between the MONQ and MONCHL set on OFF or set on MEDIUM regarding the data it is fetching from MQ ?

    If you have MONQ(OFF) then you get no data for the following fields in DISPLAY QSTATUS: LGETDATE, LGETTIME, LPUTDATE, LPUTTIME, MSGAGE, and QTIME.

    If you have MONCHL(OFF) then you get no data for the following fields in DISPLAY CHSTATUS: COMPRATE, COMPTIME, EXITTIME, NETTIME, XBATCHSZ, XQMSGSA, and XQTIME.

    These fields are only enabled when you ask for them because they have one thing in common, they require the collection of (possibly additional) timestamps in order to be produced.

    Q2) What is the impact on the performance of the MQ server systems when these params are changed to MEDIUM ?

    I believe in the MQ V6.0 timeframe when these fields were introduced, there was some concern that these additional timestamps that I mentioned above might be cause for concern from a performance perspective, and so three levels of collection were introduced, LOW, MEDIUM and HIGH, where each level caused a different number of timestamps to be recorded. In subsequent releases of MQ, MONQ has changed such that all three levels of collection cause the same behaviour.

    You may find this blog post of interest since it lists what the sampling rate was once admitted to, now IBM Docs does not show that rate.

    All this suggests to me that the impact on performance for queues has reduced to the point where they don't need different sample sizes.

    IBM Docs also comments on the impact on performance for channels in the description of the MONCHL attribute, suggesting that MONCHL(MEDIUM) has "limited effect on the performance of the system".

    Q3) What is the usual setting for a production MQ environment regarding MONQ and MONCHL ?

    I suspect, as with all things MQ, there is no "usual" setting. Firstly it will depend on whether you even want to look at this data. If you don't, since it is not on by default, it will not be enabled unless you have at some point had need to look at it. If you do want to look at the data, then for QSTATUS, there is not longer any query, use any of the enabling values, it's the same. For CHSTATUS I personally would use HIGH so that the numbers reflect all the messages going through the system rather than just some of them, otherwise you may not detect the anomalous behaviours you are looking for. Others may have a different opinion.

    In summary, understand what the output will give you and why you want to look at it. If you will get some benefit from it, then consider turning them on. If you won't look at the data, then no need to turn them on.

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 3.  RE: Monitoring paramaters MONQ and MONCHL for Datadog

    IBM Champion
    Posted Fri April 22, 2022 03:10 AM
    Also note that when turning those collections on, you immediately get values for the fields described by Morag. This lets me suspect that the collection is being made anyways, and the difference is just whether you can access the results or not.

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 4.  RE: Monitoring paramaters MONQ and MONCHL for Datadog

    IBM Champion
    Posted Fri April 22, 2022 04:59 AM

    Hi Francois,

    Is that true for both QSTATUS and CHSTATUS? I believe I have seen that for QSTATUS, but I don't think I've ever checked for CHSTATUS.

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 5.  RE: Monitoring paramaters MONQ and MONCHL for Datadog

    Posted Fri April 22, 2022 11:44 AM

    HI all,

    Gathering status and monitoring data can be critical before making changes to the environment (upgrades of HW/SW, adding new applications, etc.).  Even if you do not use it regularly, keeping baseline monitoring data from a busy day on all platforms can be critical to solving the problems that crop up after any thing that 'could not possibly cause that' causes problems.  Right now my team are dealing with several situations where an expected improvement did not happen after a hardware upgrade, or clustering quit functioning, or .... and there is no information on how things were really running before.  It is frustrating to everyone when we cannot find a cause or know what changed, but only guess at what may be happening.

    Thanks
    Lyn




    ------------------------------
    Lyn Elkins
    IBM
    Eads TN
    elkinsc@us.ibm.com
    ------------------------------



  • 6.  RE: Monitoring paramaters MONQ and MONCHL for Datadog

    Posted Fri April 22, 2022 12:47 PM
    I have heard IBM say that activating queue monitoring is actually negative overhead.  That is, they actually have to do work to not report it.  It is always collected for internal MQ usage.   That is consistent with our experience.   When we were recently doing our performance benchmarking for different messages services (see https://www.nastel.com/performance-benchmarking-april-2022/), we did testing with and without queue monitoring enabled and it made no significant difference in the results.  We recommend all customers run with it on as the added statistics are very valuable in almost every situation.  As noted for queues, all selections including High are the same.

    ------------------------------
    Richard Nikula
    VP, Product development and support
    Nastel Technologies
    Plainview NY
    1 (516) 801-2100
    ------------------------------



  • 7.  RE: Monitoring paramaters MONQ and MONCHL for Datadog

    Posted Sun April 24, 2022 05:15 AM
    Edited by Bernard Pittens Sun April 24, 2022 05:16 AM
    Hi All,

    Thanks for your comments, when looking at your responses and advices I think its a wise to switch ON queue and channel monitoring. 

    Kind regards

    ------------------------------
    Bernard Pittens
    Integration Engeneer
    Sligro Foodgroup B.V.
    Veghel
    ------------------------------