@@ -47,7 +47,9 @@ def get_platform_params_for_commands(iib_ver):
47
47
"""Returns parameters for internal functions depending on Integration Bus version."""
48
48
mqsilist_brokers = "get_brokers_status"
49
49
mqsilist_integration_nodes = "get_integration_nodes_status"
50
+ # See IBM diagnostic messages:
50
51
# https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.bipmsgs.doc/ay_bip1.htm
52
+ # Also you can use command: mqsiexplain <bip_code>
51
53
bip_codes_broker = {
52
54
# BIPCode: [broker_name_position, qm_name_position, status_position, trim_last_dot_in_qm_name]
53
55
'BIP1284I' : [2 , 6 , 8 , 'false' ],
@@ -75,7 +77,24 @@ def get_platform_params_for_commands(iib_ver):
75
77
'BIP1376I' : [3 , 19 , 15 , 'true' ],
76
78
'BIP1377I' : [3 , 24 , 5 , 'true' ]
77
79
}
80
+ bip_codes_broker_components = {
81
+ # BIPCode: [component_type, positions: broker_name, egname, status]
82
+ 'BIP1286I' : ['exec_groups' , 6 , 3 , 8 ],
83
+ 'BIP1287I' : ['exec_groups' , 6 , 3 , 8 ],
84
+ # BIPCode: [component_type, positions: egname, appname, status]
85
+ 'BIP1275I' : ['applications' , 6 , 2 , 8 ],
86
+ 'BIP1276I' : ['applications' , 6 , 2 , 8 ],
87
+ # BIPCode: [component_type, positions: egname, appname, msgflowname, status]
88
+ 'BIP1277I' : ['message_flows' , 7 , 11 , 3 , 9 ],
89
+ 'BIP1278I' : ['message_flows' , 7 , 11 , 3 , 9 ]}
90
+ bip_codes_integration_nodes_components = {
91
+ 'BIP1286I' : ['exec_groups' , 7 , 3 , 9 ],
92
+ 'BIP1287I' : ['exec_groups' , 7 , 3 , 9 ],
93
+ 'BIP1275I' : ['applications' , 6 , 2 , 8 ],
94
+ 'BIP1276I' : ['applications' , 6 , 2 , 8 ],
95
+ 'BIP1277I' : ['message_flows' , 7 , 11 , 3 , 9 ],
96
+ 'BIP1278I' : ['message_flows' , 7 , 11 , 3 , 9 ]}
78
97
if iib_ver == "9" :
79
- return mqsilist_brokers , bip_codes_broker
98
+ return mqsilist_brokers , bip_codes_broker , bip_codes_broker_components
80
99
if iib_ver == "10" :
81
- return mqsilist_integration_nodes , bip_codes_integration_nodes
100
+ return mqsilist_integration_nodes , bip_codes_integration_nodes , bip_codes_integration_nodes_components
0 commit comments