Subscribing to receive notifications using an HTTP server

You can use the Web Hook transport to create an HTTP endpoint to listen to notifications from a target system by sending the probe's webhook URL in a HTTP request body, such as a POST request.

To do this, set the following properties in the restWebHookTransport.properties file:

httpHeader=Authorization=Bearer ++Oauth.access_token++,Accept=application/json,
    Content-Type=application/json
subscribeRequestURI=/monitoring/external/api/v1/faults
subscribeRequestMethod=POST
subscribeRequestBody={"severities":["minor","major","critical","clear"],"notification-target":
     "++WebhookUrl++"}

Where ++WebhookUrl++ is a reserved variable that will be substituted with the full URL at runtime.