Skip to content

Commit 6157f45

Browse files
committed
Update for MQ 9.2.1
1 parent b14f47a commit 6157f45

File tree

22 files changed

+83
-46
lines changed

22 files changed

+83
-46
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Changelog
22
Newest updates are at the top of this file.
33

4+
### Dec 04 2020
5+
* Update to use v5.1.3 of the mq-golang repository
6+
* Update to use MQ 9.2.1
7+
* Update YAML processing to better handle missing values as defaults (#50)
8+
* Add 'host' to Prometheus listener config (#51)
9+
* URLs pointing at MQ KnowledgeCenter updated
10+
11+
### Sep 10 2020
12+
* Update to use v5.1.2 of the mq-golang repository
13+
414
### Aug 10 2020
515
* Update to use v5.1.1 of the mq-golang repository
616
* Moved build shell commands to `scripts` subdirectory and added README there

Dockerfile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
5151
# Location of the downloadable MQ client package \
5252
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
5353
RDTAR="IBM-MQC-Redist-LinuxX64.tar.gz" \
54-
VRMF=9.2.0.0
54+
VRMF=9.2.1.0
5555

5656
# Install the MQ client from the Redistributable package. This also contains the
5757
# header files we need to compile against. Setup the subset of the package

Dockerfile.run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN apt-get update \
3131
# Location of the downloadable MQ client package \
3232
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
3333
RDTAR="IBM-MQC-Redist-LinuxX64.tar.gz" \
34-
VRMF=9.2.0.0
34+
VRMF=9.2.1.0
3535

3636
# Install the MQ client from the Redistributable package. This also contains the
3737
# header files we need to compile against. Setup the subset of the package

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,21 @@ There is a `buildMonitors.bat` file that may help with building on Windows. It a
7878
the [tdm-gcc-64](https://jmeubank.github.io/tdm-gcc/download/) 64-bit compiler suite installed. It
7979
builds all the collectors and corresponding YAML configuration files into %GOPATH%/bin
8080

81+
## Queue manager configuration
82+
When metrics are being collected from the publish/subscribe interface (all platforms except z/OS),
83+
there are some considerations:
84+
* MAXHANDS on queue manager: Each subscription uses an object handle. If many queues are being monitored
85+
the default MAXHANDS may need to be increased. A warning is printed if the monitor thinks this attribute
86+
appears too low.
87+
* MAXDEPTH on model queues: The model queue used as the basis for publication and reply queues in the
88+
monitor must have a MAXDEPTH suitable for the expected amount of data. For published metrics, this is
89+
estimated based on holding one minute's amount of publications; the number of monitored channels is also
90+
used as an estimate, although that does not need to be time-based as the data is requested directly by the
91+
monitor.
92+
* USEDLQ on the admin topic: The USEDLQ attribute on the topic object associated with the metrics publications (usually
93+
SYSTEM.ADMIN.TOPIC) determines what happens if the subscriber's queue is full. You might prefer to set this to
94+
NO to avoid filling the system DLQ if the collection program does not read the publications frequently enough.
95+
8196
## Monitor configuration
8297
The monitors always collect all of the available queue manager-wide metrics.
8398
They can also be configured to collect statistics for specific sets of queues where

cmd/mq_aws/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,8 @@ The example Grafana dashboard shows how queries can be constructed to extract da
6363
about specific queues or the queue manager.
6464

6565
More information on the metrics collected through the publish/subscribe
66-
interface can be found in the [MQ KnowledgeCenter]
67-
(https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
68-
with further description in [an MQDev blog entry]
69-
(https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
66+
interface can be found in the [MQ KnowledgeCenter](https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
67+
with further description in [an MQDev blog entry](https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
7068

7169
The metrics stored in the database are named after the
7270
descriptions that you can see when running the amqsrua sample program, but with some

cmd/mq_coll/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ The example Grafana dashboard shows how queries can be constructed to extract da
5555
about specific queues or the queue manager.
5656

5757
More information on the metrics collected through the publish/subscribe
58-
interface can be found in the [MQ KnowledgeCenter]
59-
(https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
60-
with further description in [an MQDev blog entry]
61-
(https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
58+
interface can be found in the [MQ KnowledgeCenter](https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
59+
with further description in [an MQDev blog entry](https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
6260

6361
The metrics stored in the database are named after the
6462
descriptions that you can see when running the amqsrua sample program, but with some

cmd/mq_influx/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ The example Grafana dashboard shows how queries can be constructed to extract da
5959
about specific objects or the queue manager.
6060

6161
More information on the metrics collected through the publish/subscribe
62-
interface can be found in the [MQ KnowledgeCenter]
63-
(https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
64-
with further description in [an MQDev blog entry]
65-
(https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
62+
interface can be found in the [MQ KnowledgeCenter](https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
63+
with further description in [an MQDev blog entry](https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
6664

6765
The metrics stored in the Influx database are named after the
6866
descriptions that you can see when running the amqsrua sample program, but with some

cmd/mq_json/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,8 @@ jq -c '.collectionTime.timeStamp as $t | .points[] |
102102
## Metrics
103103
Once the monitor program has been started, you will see metrics being available.
104104
More information on the metrics collected through the publish/subscribe
105-
interface can be found in the [MQ KnowledgeCenter]
106-
(https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
107-
with further description in [an MQDev blog entry]
108-
(https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
105+
interface can be found in the [MQ KnowledgeCenter](https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
106+
with further description in [an MQDev blog entry](https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
109107

110108
The metrics printed are named after the
111109
descriptions that you can see when running the amqsrua sample program, but with some

cmd/mq_opentsdb/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ The example Grafana dashboard shows how queries can be constructed to extract da
5656
about specific object or the queue manager.
5757

5858
More information on the metrics collected through the publish/subscribe
59-
interface can be found in the [MQ KnowledgeCenter]
60-
(https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
61-
with further description in [an MQDev blog entry]
62-
(https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
59+
interface can be found in the [MQ KnowledgeCenter](https://www.ibm.com/support/knowledgecenter/SSFKSJ_latest/com.ibm.mq.mon.doc/mo00013_.htm)
60+
with further description in [an MQDev blog entry](https://www.ibm.com/developerworks/community/blogs/messaging/entry/Statistics_published_to_the_system_topic_in_MQ_v9?lang=en)
6361

6462
The metrics stored in the database are named after the
6563
descriptions that you can see when running the amqsrua sample program, but with some

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.13
44

55
require (
66
github.com/aws/aws-sdk-go v1.30.18
7-
github.com/ibm-messaging/mq-golang/v5 v5.1.2
7+
github.com/ibm-messaging/mq-golang/v5 v5.1.3
88
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
99
github.com/prometheus/client_golang v1.6.0
1010
github.com/sirupsen/logrus v1.5.0

0 commit comments

Comments
 (0)