question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Notify an external apprise server

See original GitHub issue

Question

Context:

I have a standalone apprise container running to manage all my notifications. This is the single place where I want to store my credentials regarding notifications. I created a configuration where I link tags to my notification services. So far this is working great.

Some services (for example uptime-kuma) are embedding apprise as a notification platform where I can use apprise url’s to send notifications.

Problem:

I would like to send uptime-kuma notifications with my external apprise server using the tags and not the embedded one where I have to provide my credentials again.

Question:

Is it possible to include apprise as notification service to apprise so that apprise could forward the request to an external apprise server. For example with an url like apprise://url/key/tag or something?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
svenjochemscommented, Oct 18, 2021

Possible solution to prevent infinite loops:

  • generate a random identifier for every apprise instance, at installation or at startup
  • append this random identifier as a query param when forwarding the request to another apprise instance
  • if apprise receives a request which already contains his own identifier we have a loop => drop request or return error response

Example: Request -> apprise1 -> apprise2 -> apprise3 -> apprise1 input: apprise://input apprise1 output: apprise://input?serverId=appriseid1 apprise2 output: apprise://input?serverId=appriseid1&serverId=appriseId2 apprise3 output: apprise://input?serverId=appriseid1&serverId=appriseId2&serverId=apprise3 apprise1: error because input already contains serverId=appriseid1

This can also be used to track the complete path when load balancing apprise.

1reaction
caronccommented, Sep 29, 2021

That’s actually a really good idea! Let me see what I can do

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apprise - Push Notifications that work with just about ... - GitHub
Apprise allows you to send a notification to almost all of the most popular notification services available to us today such as: Telegram,...
Read more >
Setup Apprise Notifications on Home Assistant - nuxref
Notifications on Home Assistant are made easy with Apprise. See how easily you can centralize all of your notifications in one spot!
Read more >
Notifications and Messaging - Ferris Labs
Ferris provides you access to over 40 notification services such as Slack, Email and Telegram. FerrisDX uses the Apprise Python Libs as an ......
Read more >
mailrise - PyPI
An SMTP gateway for Apprise notifications. Docker pulls Last commit Checks status. Description. Mailrise is an SMTP server that converts the emails it...
Read more >
Apprise - Home Assistant
Instructions on how to add Apprise notifications to Home Assistant. ... using externally located Apprise # Configuration Files/Sites: notify: - platform: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found