Application Perf Mgmt (BAC / BSM) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Question re: Configuration Item/Business Transaction Business Rules

SOLVED
Go to Solution
Occasional Advisor

Question re: Configuration Item/Business Transaction Business Rules

Hello,

 

I am currently generating events based off alerts via a method proposed by Dmitry (turn off event generation from Health Indicators, turn on event generation from alert).  I have the alerts set so that they generate an event when 3/3 transactions fail, and I would like the 360 view to show a similar state.  My End User Monitors view is set up with the default configuration of worst status rule for Availability and Performance KPIs.  When looking at the 360 view, I notice that the current behavior of the Application, Transaction and Transaction Flow CIs is to change state from "OK" to "Critical" as soon as a transaction fails.  I'm assuming this is normal behavior for the current configuration.

 

I would like to know if I could somehow incorporate time into the calculation so that the state only turns Critical when 3/3 transactions fail.  I'm not saavy enough to know if there is an existing business rule I could apply, or if I need to do something else...

 

Thanks in advance!

 

 

 

3 REPLIES
HPE Expert

Re: Question re: Configuration Item/Business Transaction Business Rules

there isnt such a rule OOTB.

you will need to write a Groovy rule for your HI. this rule will need to hold 3 samples and then perform the calculation on them.

Highlighted
Occasional Advisor

Re: Question re: Configuration Item/Business Transaction Business Rules

Thank you Asaf.  Final question:  in your opinion, what is the best way to learn how to apply Groovy scripts to BSM?  I see a number of non-HP web sites that explain Groovy, but I couldn't find any manuals or whitepapers that provide an HP-centric view.

HPE Expert

Re: Question re: Configuration Item/Business Transaction Business Rules

I suggest BSM Docs. you dont need Groovy knowledge just how to use the Groovy framework within developing business rules.

In the docs you will find it under "Rules API" (for Service Health or SLM).

In the docs you will also find great code examples.