Jump to content

How different is a HRB Creation for BW 6.3 application deployed in TEA for Engine Monitoring when its compared to BW 5.13 application deployed in Classic Admin


Rajesh Ammineni

Recommended Posts

Hi,

We are currently working on BW 6.3, where the applications are deployed in TIBCO ENTERPRISE ADMINISTRATOR(TEA). Hawk version is 5.2.

I have wrote a sample hrb that is used to monitor the BW Engine and to trigger an email when the application is not in 'RUNNING' state.

Below is the sample script. I am not sure about the naming convention that is being used here as in BW6 its all about APPNODES and APPSPACES when copared to BW 5 where it is application name (Deployment) and instance(Component Instance) name.

 

--------------Script-----------------------------

 

 

5.2.0

 

 

Sample Engine Test at 08:21 Fri, May 17, 2017

Sample Engine Test at 08:21 Fri, May 17, 2017

 

 

 

 

0

 

 

getComponentInstanceStatus

 

 

 

 

 

 

30000

 

 

 

 

 

 

 

 

 

 

 

DMW-BILLING is not running and please re-start.Thanks,TM TeamNote: This is an autogenerated mail and please do not reply to this mail., From=noreply@gmail.Com, Mail Server=xx.xx.xx Subject=Alert! DMW-BILLING is not running., To=abc@gmail.com)]]>

 

COM.TIBCO.hawk.microagent.RuleBaseEngine

sendMail

 

abc@gmail.com]]>

 

 

noreply@gmail.com]]>

 

 

abc@gmail.com]]>

 

 

 

 

 

 

 

 

abc@gmail.com, Content=Hi Team,DMW-BILLING is not running and please re-start.Thanks,TM TeamNote: This is an autogenerated mail and please do not reply to this mail., From=noreply@gmail.Com, Mail Server=xx.xx.xx.xx Subject=Alert! DMW-BILLING is not running., To=abc@gmail.com)]]>

 

 

 

 

0

 

 

1

 

 

 

 

 

 

 

----------Script end---------------

I have placed this script at hawk location /home/tibcoadm/dev/tibco/cfgmgmt/hawk/autoconfig/DMW-BILLING.hrb

I stopped the service and started it. I couldnt able to see any notification mail that got triggered to me.

Can someone help over it and tell me where I am missing.

Thanks

Rajesh Ammineni

Link to comment
Share on other sites

  • 2 years later...

HiRajesh,

There's a big change in BW6 regarding the monitoring. It's totally different from BW5. No TRA mircoagent in BW6. Therefor, copied hrb from BW5 wont work in BW6.

Please follow the documentaion to enable the bw appnode mircoagent for the monitoring in BW6.3:

https://docs.tibco.com/pub/activematrix_businessworks/6.3.5/doc/html/GUI...

Please contact TIBCO Support if you have any further questions on this.

Thanks

Chenghao

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...