Forward alerts to custom applications through Webhook
  • 08 Jun 2021
  • 1 Okunan Dakika
  • katkıda
  • karanlık
    ışık
  • Pdf

Forward alerts to custom applications through Webhook

  • karanlık
    ışık
  • Pdf

The content is currently unavailable in Türkçe. You are viewing the default English version.
Makale özeti

Serverless360 offers extensive capabilities to monitor Azure entities on their properties and metrics. They are:

  1. Property based Monitoring
  2. Data Monitoring
  3. Watch Monitoring
  4. API Monitoring

Monitors would trigger alerts based on their configuration and notifications to the respective teams can be forwarded using the notification channels supported by Serverless360.
However a real time business scenario would demand to perform a custom follow up action, whenever an alert is triggered. Serverelss360 facilitates this custom cloud action integration using a Webhook notification channel.

How to integrate?

  1. Add Custom cloud application as a notification channel. Refer Webhook notification channel.
  2. Create and configure an alarm. Refer configure an alarm.

Alarm configuration would involve:
a. Defining alarm frequency
b. Associating resource and configuring threshold values
c. Configuring the notification channels through which alert should be sent.

Turn on the Webhook notification channel created at step 1
With the above configurations the custom cloud application endpoint will be invoked whenever an alert gets generated.
The sample payload passed on to the Webhook endpoint is illustrated below. The custom application should accept this payload to perform the follow up action

[
	{
		"ServiceName": "StagingPA",
		"ResourceName": "maxpartition",
		"ResourceType": "Queues",
		"Errors": 4,
		"Warnings": 0,
		"Issues": [
			{
				"Type": "Healthy",
				"IsComposite": false,
				"CompositeKey": null,
				"CompositeKeyType": null,
				"Information": "Status: Active is Healthy"
			},
			{
				"Type": "Error",
				"IsComposite": false,
				"CompositeKey": null,
				"CompositeKeyType": null,
				"Information": "Size In Bytes: 23552 > expected value 10"
			},
			{
				"Type": "Warning",
				"IsComposite": false,
				"CompositeKey": null,
				"CompositeKeyType": null,
				"Information": "Message Count: 128 > expected value 10"
			}			
		],
		"State": 0,
		"AlarmName": "QueuePerformanceMonitor",
		"AlarmDescription": "Monitor to trigger custom action"
	}
]

Try this capability at SaaS version of Serverles360, this feature is also available in On-Premise from version v1.3


Bu makale size yardımcı oldu mu?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.