Hi,
My workplace are in the process of moving from Slack to g suite, and thus I wanted to move my current webhook notification to google chats. The slack webhook was super easy to setup, and the notifications were very useful and easily customizable, which I'm trying to replicate. (I just want Group, Name, Sensor etc, nothing fancy)
A bit of documentation I've been following: https://developers.google.com/hangouts/chat/how-tos/webhooks https://developers.google.com/hangouts/chat/reference/message-formats/basic
However I could not get webhooks to work with google so I am trying to use Execute HTTP Action instead.
I've entered the required details (URL, No SNI, Method: POST, and a payload of: { "text": "Hello, world" }
I have tested the above to prove my google chat works https://reqbin.com/ and it was successful. But that is JSON which PRTG cant use?
I have tried this and it still didn't work: https://kb.paessler.com/en/topic/69937-how-do-you-send-http-post-data-properly-through-prtg
In the notification logs am getting a HTTP 400 error which I think indicates that the incorrect format was used.
I am not a programmer so this is a bit out of my skill set.
I see I am not allowed to use XML or JSON in the payload So my question is what format does PRTG HTTP Post send ?
To summarize: I want to send notifications to google chats (which I think wants json format, but PRTG cant send) about down devices with name,ip,sensor etc.
Add comment