I am trying to get Alerting to work via Webhook (post), but I’m having an issue reading the json data. My JSP url gets invoked by Grafana (4.5.2) via alerting feature however I’m not able to read any json data, it’s almost as if no json data is being passed to my url via webhook.
I have the alerting feature via Email working perfectly with all the info, however via the webhook, my url gets invoked but no json data is being passed. How can I debug this.
In the Grafana log, I can confirm the webhook gets called.
t=2018-01-31T15:07:35-0500 lvl=info msg=“New state change” logger=alerting.resultHandler alertId=4 newState=alerting prev state=ok
t=2018-01-31T15:07:35-0500 lvl=info msg=“Sending notifications for” logger=alerting.notifier ruleId=4 sent count=1
t=2018-01-31T15:07:35-0500 lvl=info msg=Rendering logger=png-renderer path="dashboard-solo/db/test-tma-alert?&panelId=1"
t=2018-01-31T15:07:35-0500 lvl=info msg=uploaded logger=alerting.notifier url=
t=2018-01-31T15:07:35-0500 lvl=info msg=“Sending notification” logger=alerting.notifier type=webhook id=2 isDefault=true
t=2018-01-31T15:07:35-0500 lvl=info msg=“Sending webhook” logger=alerting.notifier.webhook