semaphore-docs icon indicating copy to clipboard operation
semaphore-docs copied to clipboard

Add Apprise instead of telegramm only

Open kaystrobach opened this issue 1 year ago • 4 comments

With apprise, we can provide a dsn for different services (makes UI simple) and allow to push stuff there as well.

https://github.com/caronc/apprise

Thanks for semaphore - works like a charm.

kaystrobach avatar Apr 11 '24 06:04 kaystrobach

It could make sense to add an apprise integration, but IMHO it won't replace the whole alerting providers as not every user wants to maintain additional services for alerting.

tboerger avatar Apr 11 '24 06:04 tboerger

currently there is - https://docs.semui.co/administration-guide/configuration#configuration-options :

  • email
  • telegram
  • rocketchat

correct? I just found it now, as i was only pointed to telegram during setup, maybe a separate section in the docs makes sense. Thank you.

kaystrobach avatar Apr 11 '24 06:04 kaystrobach

See your point about an extra service. Apprise is just a python lib. So it might be possible to include it like that:

https://poweruser.blog/embedding-python-in-go-338c0399f3d5

Or by just using the cli.

https://github.com/caronc/apprise/wiki/CLI_Usage

Maybe it helps.

kaystrobach avatar Apr 11 '24 06:04 kaystrobach

The docs really got to be improved. There are already multiple alerting methods available.

Not sure if this lib can really get embedded, never tried to embed python.

Since all alerting providers are plain http requests so far I'm voting for keeping it.

tboerger avatar Apr 11 '24 07:04 tboerger