Please find below in details.
Initially this was set as below referring to sample PID and able to obtain alerts when its down or started back.
Regular Expression: /usr/tibco/./([a-z,A-Z,0-9])\s./(.)/(\2)-.
Process Name: %1 for Interface %2 – InstanceName %4
Alert Description (Result):
Process bwengine for Interface I-2107_TravelIntegration_BCD_DC-1 – InstanceName BCD_TravelIntegration_All_Timer_Pd_WC_B_222
/usr/tibco/devsetb/bw/5.13/bin/bwengine --pid --run --propFile /usr/tibco/devsetb/tra/domain/tibdev07/application/I-2107_TravelIntegration_BCD_DC-1/I-2107_TravelIntegration_BCD_DC-1-BCD_TravelIntegration_All_Timer_Pd_WC_B_222.tra
But for the below (higher version of TIBCO process) is not getting monitored as expressions was not matching.
Sample Higher Version PID:
/usr/tibco/TIBCO6x/bw/6.4/domains/tibdev6x/appnodes/AS_MultiAppAS_WC/AN_tibdev6x_N8/bin/bwappnode-AN_tibdev6x_N8 --propFile /usr/tibco/TIBCO6x/bw/6.4/domains/tibdev6x/appnodes/AS_MultiAppAS_WC/AN_tibdev6x_N8/bin/bwappnode-AN_tibdev6x_N8.tra -config /usr/tibco/TIBCO6x/bw/6.4/domains/tibdev6x/appnodes/AS_MultiAppAS_WC/AN_tibdev6x_N8/config.ini
So adjust expressions to match both version of PIDs as below, but its not listing the processes due to issue with Process Name expression. Provided user friendly input under “Process Name” value, still no luck
Then thought to monitor using User based rules.