When using Bosun
you can send a HTTP POST
request using an alert notification with a specified json body like so:
post = myurl
body = {"foo": "bar"}
I have an external application which listens to myurl
and sends and email based on the context of the post body. Is there a way to generically template the post body to represent the triggered alert details.
Ideally something like this (syntax is just for example purposes):
post = myurl
body = {"body": "Alert.name, Alert.host, ..."}