is there anyway to trigger mail when proxy is having issues.

Not applicable

Hi,

Is there any option available in apigee edge to trigger alert mail when a proxy or traget is having issue.

regards,

Ramakrishna

Solved Solved
0 3 333
1 ACCEPTED SOLUTION

Hi @RamaKrishna

The straight answer to your question is NO. The product does not have that feature. However there are some ways you could achieve this -

  1. All the errors are automatically captured in Analytics. You can write a script that queries the data for errors and then send an email as part of that script itself. This could be a cronjob or by a scheduler that runs every 5 mins or so.
  2. Use the FaultRules to catch the exception/issues and then make a service callout to another proxy that has some email functionality written (using Custom policies - Java, Python, etc)
  3. Use the Apigee Test (its an Apigee labs product, so dont except complete support) to create a test probe which can send out emails when issues happen. Make sure you have a /ping or /status resource in your proxy so that this can be used the probe
  4. If you have a logging system (like Splunk, Loggly, etc), you could capture all that info and flush it into those systems and have that system configure some monitoring alerts.

Out of the above, my preference would be the LAST (using logging service). By using this, you get the alerts instantaneously, its outside of the API gateway. You can easily configure or change configurations without any impact to the API itself as its outside.

Hope this helps !

View solution in original post

3 REPLIES 3

Not applicable

If not,Please let us know how we can achieve this.

Hi @RamaKrishna

The straight answer to your question is NO. The product does not have that feature. However there are some ways you could achieve this -

  1. All the errors are automatically captured in Analytics. You can write a script that queries the data for errors and then send an email as part of that script itself. This could be a cronjob or by a scheduler that runs every 5 mins or so.
  2. Use the FaultRules to catch the exception/issues and then make a service callout to another proxy that has some email functionality written (using Custom policies - Java, Python, etc)
  3. Use the Apigee Test (its an Apigee labs product, so dont except complete support) to create a test probe which can send out emails when issues happen. Make sure you have a /ping or /status resource in your proxy so that this can be used the probe
  4. If you have a logging system (like Splunk, Loggly, etc), you could capture all that info and flush it into those systems and have that system configure some monitoring alerts.

Out of the above, my preference would be the LAST (using logging service). By using this, you get the alerts instantaneously, its outside of the API gateway. You can easily configure or change configurations without any impact to the API itself as its outside.

Hope this helps !

@Sai Saran Vaidyanathan

Thank you so much.