caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
11.9k stars 415 forks source link

Using Apprise as forwarder for shoutrrr #1229

Closed steled closed 1 week ago

steled commented 1 week ago

:question: Question Hi,

we are using kured in our cluster and currently they are relying on shoutrrr for their notifications. Unfortunately shoutrrr currently doesn't support the new MS Teams message format and I'm not sure if this will be implemented soon (last release Aug 20, 2023).

Since kured is relying on shoutrrr I'm trying to use the generic webhook from shoutrrr to send the messages to Apprise and than to MS Teams.

But I'm always getting:

Error notifying: an error occurred while sending notification to generic webhook: server returned response status code 400 Bad Request

from within kured as error message. I'm using the following --notify-url parameter in kured:

--notify-url=generic+http://apprise.apprise.svc:8000/notify/test?contenttype=application/json&title=Test&body=test_from_inside_kured_via_apprise

Maybe someone tried the same and can help a bit.

I'm using Apprise as kubernetes deployment in our cluster.

steled commented 1 week ago

OK, found the working configuration:

--notify-url=generic://apprise.apprise.svc:8000/notify/test?template=json&disabletls=yes&messagekey=body

I'll keep this question if someone else need an example.