Example Authoring a Rule with E-mail Action

According to an SLA, the accepted response time aggregated over an hour for a critical application is between 100-130 ms. You want the operations team to be alerted if the response time crosses the high watermark.

In more specific words, you want to monitor the ticket_booking_app_0 application in the ProdEnv_0 environment at an hourly level. If the AvgResponseTime is more than 130 ms, you want an e-mail to be sent to operations@abc.com. If the AvgResponseTime returns to the accepted range, you want another e-mail to be sent to operations@abc.com.

You can define an appropriate rule on the Create New Rule dashboard.

Procedure

  1. Define the scope to include the ApplTrends hierarchy and hourly level:


  2. Declare the set condition to monitor if the AvgResponseTime exceeds 130 ms:


  3. Define the set action that sends an e-mail to operations@abc.com:


  4. Declare the clear action to monitor if the AvgResponseTime returns to the accepted range:


  5. Define the clear action that sends an e-mail to operations@abc.com: