Rajesh Ammineni Posted May 18, 2017 Share Posted May 18, 2017 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 More sharing options...
sonu chinna Posted September 25, 2019 Share Posted September 25, 2019 Is it fixed. I am facing similar issue. could you please suggest on the steps. Link to comment Share on other sites More sharing options...
ChengHao Chen 3 Posted September 27, 2019 Share Posted September 27, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now