Skip to content

Commit 2bace34

Browse files
committed
- Update for MQ 9.3.2
- mqmetric - Add hostname tag for 9.3.2 qmgrs (added to DIS QMSTATUS response) (ibm-messaging/mq-metric-samples#184) - mqmetric - Add subscriptions to NativeHA published metrics - mqmetric - Add metrics for status of log extents
1 parent d5bb8e3 commit 2bace34

19 files changed

+780
-128
lines changed

CHANGELOG.md

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

4+
## Feb 17 2023 - v5.4.0
5+
- Update for MQ 9.3.2
6+
- mqmetric - Add hostname tag for 9.3.2 qmgrs (added to DIS QMSTATUS response) (ibm-messaging/mq-metric-samples#184)
7+
- mqmetric - Add subscriptions to NativeHA published metrics
8+
- mqmetric - Add metrics for status of log extents
9+
410
## Jan 10 2023 - v5.3.3
511
- ibmmq - Add more attributes that can be MQINQ'd
612
- mqmetric - New metric qmgr_active_listeners (ibm-messaging/mq-metric-samples#183)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
5858
# Location of the downloadable MQ client package \
5959
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
6060
RDTAR="IBM-MQC-Redist-LinuxX64.tar.gz" \
61-
VRMF=9.3.1.0
61+
VRMF=9.3.2.0
6262

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,4 @@ in the DCO.
214214

215215
## Copyright
216216

217-
© Copyright IBM Corporation 2016, 2022
217+
© Copyright IBM Corporation 2016, 2023

ibmmq/cmqc_aix.go

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package ibmmq
1414
* for each value; those can be found in other header files such as
1515
* cmqc.h.
1616
****************************************************************
17-
* Copyright (c) IBM Corporation 1993, 2022
17+
* Copyright (c) IBM Corporation 1993, 2023
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.
@@ -30,8 +30,8 @@ package ibmmq
3030
****************************************************************
3131
*
3232
* <BEGIN_BUILDINFO>
33-
* Generated on: 9/29/22 4:30 PM
34-
* Build Level: p931-L220929.1
33+
* Generated on: 2/7/23 5:13 PM
34+
* Build Level: p932-L230207
3535
* Build Type: Production
3636
* <END_BUILDINFO>
3737
*/
@@ -173,6 +173,8 @@ const (
173173
MQAUTH_SET_IDENTITY_CONTEXT int32 = 16
174174
MQAUTH_SUBSCRIBE int32 = 20
175175
MQAUTH_SYSTEM int32 = 22
176+
MQAUTOCLUS_TYPE_NONE int32 = 0
177+
MQAUTOCLUS_TYPE_UNIFORM int32 = 1
176178
MQAUTO_START_NO int32 = 0
177179
MQAUTO_START_YES int32 = 1
178180
MQAXC_CURRENT_LENGTH int32 = 424
@@ -304,8 +306,6 @@ const (
304306
MQCACF_CF_STRUC_NAMES int32 = 3095
305307
MQCACF_CHAR_ATTRS int32 = 3189
306308
MQCACF_CHILD_Q_MGR_NAME int32 = 3040
307-
MQCACF_CLUS_CHAN_Q_MGR_NAME int32 = 5507
308-
MQCACF_CLUS_SHORT_CONN_NAME int32 = 5508
309309
MQCACF_COMMAND_MQSC int32 = 3075
310310
MQCACF_COMMAND_SCOPE int32 = 3080
311311
MQCACF_CONFIGURATION_DATE int32 = 3091
@@ -354,14 +354,21 @@ const (
354354
MQCACF_LAST_PUB_TIME int32 = 3162
355355
MQCACF_LAST_PUT_DATE int32 = 3128
356356
MQCACF_LAST_PUT_TIME int32 = 3129
357-
MQCACF_LAST_USED int32 = 3211
357+
MQCACF_LAST_USED int32 = 3220
358358
MQCACF_LOCAL_Q_NAMES int32 = 3015
359359
MQCACF_LOG_PATH int32 = 3074
360+
MQCACF_LOG_START_DATE int32 = 3214
361+
MQCACF_LOG_START_LSN int32 = 3215
362+
MQCACF_LOG_START_TIME int32 = 3216
360363
MQCACF_MEDIA_LOG_EXTENT_NAME int32 = 3073
361364
MQCACF_MODEL_Q_NAMES int32 = 3016
362365
MQCACF_MQCB_NAME int32 = 3192
363366
MQCACF_NAMELIST_NAMES int32 = 3013
367+
MQCACF_NHA_GROUP_INITIAL_DATE int32 = 3217
368+
MQCACF_NHA_GROUP_INITIAL_LSN int32 = 3218
369+
MQCACF_NHA_GROUP_INITIAL_TIME int32 = 3219
364370
MQCACF_NHA_INSTANCE_NAME int32 = 3211
371+
MQCACF_NHA_REPL_ADDRESS int32 = 3220
365372
MQCACF_NONE int32 = 3171
366373
MQCACF_OBJECT_NAME int32 = 3046
367374
MQCACF_OBJECT_Q_MGR_NAME int32 = 3023
@@ -378,6 +385,7 @@ const (
378385
MQCACF_PUT_DATE int32 = 3137
379386
MQCACF_PUT_TIME int32 = 3138
380387
MQCACF_Q_MGR_CPF int32 = 3076
388+
MQCACF_Q_MGR_DATA_PATH int32 = 3212
381389
MQCACF_Q_MGR_START_DATE int32 = 3175
382390
MQCACF_Q_MGR_START_TIME int32 = 3176
383391
MQCACF_Q_MGR_UOW_ID int32 = 3086
@@ -461,6 +469,7 @@ const (
461469
MQCACF_TO_SUB_NAME int32 = 3164
462470
MQCACF_TO_TOPIC_NAME int32 = 3149
463471
MQCACF_TRANSACTION_ID int32 = 3085
472+
MQCACF_UNIFORM_CLUSTER_NAME int32 = 3213
464473
MQCACF_UOW_LOG_EXTENT_NAME int32 = 3064
465474
MQCACF_UOW_LOG_START_DATE int32 = 3062
466475
MQCACF_UOW_LOG_START_TIME int32 = 3063
@@ -1023,7 +1032,7 @@ const (
10231032
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
10241033
MQCMDI_SEC_TIMER_ZERO int32 = 14
10251034
MQCMDI_SEC_UPPERCASE int32 = 21
1026-
MQCMDL_CURRENT_LEVEL int32 = 931
1035+
MQCMDL_CURRENT_LEVEL int32 = 932
10271036
MQCMDL_LEVEL_1 int32 = 100
10281037
MQCMDL_LEVEL_101 int32 = 101
10291038
MQCMDL_LEVEL_110 int32 = 110
@@ -1072,6 +1081,7 @@ const (
10721081
MQCMDL_LEVEL_925 int32 = 925
10731082
MQCMDL_LEVEL_930 int32 = 930
10741083
MQCMDL_LEVEL_931 int32 = 931
1084+
MQCMDL_LEVEL_932 int32 = 932
10751085
MQCMD_ACCOUNTING_MQI int32 = 167
10761086
MQCMD_ACCOUNTING_Q int32 = 168
10771087
MQCMD_ACTIVITY_MSG int32 = 69
@@ -1622,6 +1632,10 @@ const (
16221632
MQFIELD_WQR_StrucId int32 = 8000
16231633
MQFIELD_WQR_StrucLength int32 = 8002
16241634
MQFIELD_WQR_Version int32 = 8001
1635+
MQFSENC_NO int32 = 0
1636+
MQFSENC_UNKNOWN int32 = 2
1637+
MQFSENC_YES int32 = 1
1638+
MQFS_SHARED int32 = -1
16251639
MQFUN_TYPE_COMMAND int32 = 5
16261640
MQFUN_TYPE_JVM int32 = 1
16271641
MQFUN_TYPE_PROCEDURE int32 = 3
@@ -1740,6 +1754,7 @@ const (
17401754
MQIACF_AUTH_REC_TYPE int32 = 1412
17411755
MQIACF_AUTH_REMOVE_AUTHS int32 = 1117
17421756
MQIACF_AUTH_SERVICE_ATTRS int32 = 1264
1757+
MQIACF_AUTO_CLUSTER_TYPE int32 = 1448
17431758
MQIACF_AUX_ERROR_DATA_INT_1 int32 = 1070
17441759
MQIACF_AUX_ERROR_DATA_INT_2 int32 = 1071
17451760
MQIACF_BACKOUT_COUNT int32 = 1241
@@ -1801,6 +1816,8 @@ const (
18011816
MQIACF_CTL_OPERATION int32 = 1366
18021817
MQIACF_CUR_MAX_FILE_SIZE int32 = 1438
18031818
MQIACF_CUR_Q_FILE_SIZE int32 = 1437
1819+
MQIACF_DATA_FS_IN_USE int32 = 1449
1820+
MQIACF_DATA_FS_SIZE int32 = 1450
18041821
MQIACF_DB2_CONN_STATUS int32 = 1150
18051822
MQIACF_DELETE_OPTIONS int32 = 1092
18061823
MQIACF_DESTINATION_CLASS int32 = 1273
@@ -1839,13 +1856,19 @@ const (
18391856
MQIACF_INVALID_DEST_COUNT int32 = 1371
18401857
MQIACF_ITEM_COUNT int32 = 1378
18411858
MQIACF_KNOWN_DEST_COUNT int32 = 1369
1842-
MQIACF_LAST_USED int32 = 1444
1859+
MQIACF_LAST_USED int32 = 1465
18431860
MQIACF_LDAP_CONNECTION_STATUS int32 = 1409
18441861
MQIACF_LISTENER_ATTRS int32 = 1222
18451862
MQIACF_LISTENER_STATUS_ATTRS int32 = 1223
18461863
MQIACF_LOG_COMPRESSION int32 = 1322
1864+
MQIACF_LOG_EXTENT_SIZE int32 = 1451
1865+
MQIACF_LOG_FS_IN_USE int32 = 1452
1866+
MQIACF_LOG_FS_SIZE int32 = 1453
18471867
MQIACF_LOG_IN_USE int32 = 1420
1868+
MQIACF_LOG_PRIMARIES int32 = 1454
18481869
MQIACF_LOG_REDUCTION int32 = 1422
1870+
MQIACF_LOG_SECONDARIES int32 = 1455
1871+
MQIACF_LOG_TYPE int32 = 1456
18491872
MQIACF_LOG_UTILIZATION int32 = 1421
18501873
MQIACF_MAX_ACTIVITIES int32 = 1236
18511874
MQIACF_MCAST_REL_INDICATOR int32 = 1351
@@ -1867,6 +1890,12 @@ const (
18671890
MQIACF_MSG_TYPE int32 = 1249
18681891
MQIACF_MULC_CAPTURE int32 = 1324
18691892
MQIACF_NAMELIST_ATTRS int32 = 1004
1893+
MQIACF_NHA_INSTANCE_ACTV_CONNS int32 = 1457
1894+
MQIACF_NHA_INSTANCE_BACKLOG int32 = 1458
1895+
MQIACF_NHA_INSTANCE_IN_SYNC int32 = 1459
1896+
MQIACF_NHA_INSTANCE_ROLE int32 = 1460
1897+
MQIACF_NHA_IN_SYNC_INSTANCES int32 = 1461
1898+
MQIACF_NHA_TOTAL_INSTANCES int32 = 1462
18701899
MQIACF_NUM_PUBS int32 = 1396
18711900
MQIACF_OBJECT_TYPE int32 = 1016
18721901
MQIACF_OBSOLETE_MSGS int32 = 1310
@@ -1912,10 +1941,16 @@ const (
19121941
MQIACF_Q_MGR_DQM int32 = 1124
19131942
MQIACF_Q_MGR_EVENT int32 = 1123
19141943
MQIACF_Q_MGR_FACILITY int32 = 1231
1944+
MQIACF_Q_MGR_FS_ENCRYPTED int32 = 1463
1945+
MQIACF_Q_MGR_FS_IN_USE int32 = 1464
1946+
MQIACF_Q_MGR_FS_SIZE int32 = 1465
19151947
MQIACF_Q_MGR_NUMBER int32 = 1148
19161948
MQIACF_Q_MGR_PUBSUB int32 = 1291
19171949
MQIACF_Q_MGR_STATUS int32 = 1149
19181950
MQIACF_Q_MGR_STATUS_ATTRS int32 = 1229
1951+
MQIACF_Q_MGR_STATUS_INFO_NHA int32 = 1447
1952+
MQIACF_Q_MGR_STATUS_INFO_Q_MGR int32 = 1446
1953+
MQIACF_Q_MGR_STATUS_INFO_TYPE int32 = 1445
19191954
MQIACF_Q_MGR_STATUS_LOG int32 = 1415
19201955
MQIACF_Q_MGR_SYSTEM int32 = 1122
19211956
MQIACF_Q_MGR_TYPE int32 = 1085
@@ -2727,6 +2762,9 @@ const (
27272762
MQLDAP_AUTHORMD_SRCHGRPSN int32 = 3
27282763
MQLDAP_NESTGRP_NO int32 = 0
27292764
MQLDAP_NESTGRP_YES int32 = 1
2765+
MQLOGTYPE_CIRCULAR int32 = 0
2766+
MQLOGTYPE_LINEAR int32 = 1
2767+
MQLOGTYPE_REPLICATED int32 = 2
27302768
MQLR_AUTO int32 = -1
27312769
MQLR_MAX int32 = -2
27322770
MQLR_ONE int32 = 1
@@ -2871,6 +2909,14 @@ const (
28712909
MQMULC_REFINED int32 = 1
28722910
MQMULC_STANDARD int32 = 0
28732911
MQNC_MAX_NAMELIST_NAME_COUNT int32 = 256
2912+
MQNHABACKLOG_UNKNOWN int32 = -1
2913+
MQNHACONNACTV_NO int32 = 0
2914+
MQNHACONNACTV_YES int32 = 1
2915+
MQNHAINSYNC_NO int32 = 0
2916+
MQNHAINSYNC_YES int32 = 1
2917+
MQNHAROLE_ACTIVE int32 = 1
2918+
MQNHAROLE_REPLICA int32 = 2
2919+
MQNHAROLE_UNKNOWN int32 = 0
28742920
MQNPMS_FAST int32 = 2
28752921
MQNPMS_NORMAL int32 = 1
28762922
MQNPM_CLASS_HIGH int32 = 10
@@ -3414,6 +3460,7 @@ const (
34143460
MQRCCF_NETBIOS_NAME_ERROR int32 = 3093
34153461
MQRCCF_NET_PRIORITY_ERROR int32 = 4088
34163462
MQRCCF_NET_PRIORITY_WRONG_TYPE int32 = 4089
3463+
MQRCCF_NHA_NOT_AVAILABLE int32 = 4098
34173464
MQRCCF_NONE_FOUND int32 = 3200
34183465
MQRCCF_NOT_AUTHORIZED int32 = 3081
34193466
MQRCCF_NOT_REGISTERED int32 = 3073
@@ -3474,6 +3521,7 @@ const (
34743521
MQRCCF_Q_MGR_CCSID_ERROR int32 = 3086
34753522
MQRCCF_Q_MGR_NAME_ERROR int32 = 3074
34763523
MQRCCF_Q_MGR_NOT_IN_QSG int32 = 3212
3524+
MQRCCF_Q_MGR_STATUS_NOT_FOUND int32 = 4099
34773525
MQRCCF_Q_NAME_ERROR int32 = 3076
34783526
MQRCCF_Q_STATUS_NOT_FOUND int32 = 4091
34793527
MQRCCF_Q_TYPE_ERROR int32 = 3022
@@ -4962,6 +5010,7 @@ const (
49625010
MQ_FUNCTION_LENGTH int32 = 4
49635011
MQ_GROUP_ADDRESS_LENGTH int32 = 264
49645012
MQ_GROUP_ID_LENGTH int32 = 24
5013+
MQ_HOST_NAME_LENGTH int32 = 256
49655014
MQ_INITIAL_KEY_LENGTH int32 = 256
49665015
MQ_INSTALLATION_DESC_LENGTH int32 = 64
49675016
MQ_INSTALLATION_NAME_LENGTH int32 = 16
@@ -4980,6 +5029,7 @@ const (
49805029
MQ_LOG_EXTENT_NAME_LENGTH int32 = 24
49815030
MQ_LOG_PATH_LENGTH int32 = 1024
49825031
MQ_LRSN_LENGTH int32 = 12
5032+
MQ_LSN_LENGTH int32 = 64
49835033
MQ_LTERM_OVERRIDE_LENGTH int32 = 8
49845034
MQ_LUWID_LENGTH int32 = 16
49855035
MQ_LU_NAME_LENGTH int32 = 8
@@ -5001,6 +5051,7 @@ const (
50015051
MQ_NAMELIST_DESC_LENGTH int32 = 64
50025052
MQ_NAMELIST_NAME_LENGTH int32 = 48
50035053
MQ_NHA_INSTANCE_NAME_LENGTH int32 = 48
5054+
MQ_NHA_REPL_ADDRESS_LENGTH int32 = 264
50045055
MQ_OBJECT_INSTANCE_ID_LENGTH int32 = 24
50055056
MQ_OBJECT_NAME_LENGTH int32 = 48
50065057
MQ_OPERATOR_MESSAGE_LENGTH int32 = 4
@@ -5021,6 +5072,7 @@ const (
50215072
MQ_QSG_NAME_LENGTH int32 = 4
50225073
MQ_Q_DESC_LENGTH int32 = 64
50235074
MQ_Q_MGR_CPF_LENGTH int32 = 4
5075+
MQ_Q_MGR_DATA_PATH_LENGTH int32 = 1024
50245076
MQ_Q_MGR_DESC_LENGTH int32 = 64
50255077
MQ_Q_MGR_IDENTIFIER_LENGTH int32 = 48
50265078
MQ_Q_MGR_NAME_LENGTH int32 = 48

0 commit comments

Comments
 (0)