The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Recommended Posts

Posted

Hi Experts,

I'm trying to create a hawk rule to raise an alert if it detects that the status of an application is unreachable. My plan was initially to look in the Hawk logs of the tea agent, however i can't find a string that identifies an application to be in an unreachable state.

Posted

Hello There,

It's different from BW5, not Hawk reports the application status to TEA in BW6. Therefor you cannot find such a string in Hawk.log.

Here are two ways to get the application status in BW6:

Way1: Use "bwadmin show" command

 

Way2: Use REST API

 

 

Basic idea is:

 

Write a shell script using the command to check the application status

Save the results to file

In hawk rulebase, rule1 invoke the shell script via custom:execut, rule2 monitor the output file use logfile:onNewLine

 

Please let me know if any further questions

Thanks

 

Chenghao

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...