@@ -47,7 +47,9 @@ def get_platform_params_for_commands(iib_ver):
4747 """Returns parameters for internal functions depending on Integration Bus version."""
4848 mqsilist_brokers = "get_brokers_status"
4949 mqsilist_integration_nodes = "get_integration_nodes_status"
50+ # See IBM diagnostic messages:
5051 # 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>
5153 bip_codes_broker = {
5254 # BIPCode: [broker_name_position, qm_name_position, status_position, trim_last_dot_in_qm_name]
5355 'BIP1284I' : [2 , 6 , 8 , 'false' ],
@@ -75,7 +77,24 @@ def get_platform_params_for_commands(iib_ver):
7577 'BIP1376I' : [3 , 19 , 15 , 'true' ],
7678 'BIP1377I' : [3 , 24 , 5 , 'true' ]
7779 }
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 ]}
7897 if iib_ver == "9" :
79- return mqsilist_brokers , bip_codes_broker
98+ return mqsilist_brokers , bip_codes_broker , bip_codes_broker_components
8099 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