Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring: Support SNS -> Matrix channel alerting #68

Open
ryanjjung opened this issue Dec 11, 2024 · 2 comments
Open

Monitoring: Support SNS -> Matrix channel alerting #68

ryanjjung opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels

Comments

@ryanjjung
Copy link
Collaborator

I'm not sure how to do this, exactly. SNS currently notifies by email, but we could also subscribe it to a Lambda that handles messaging to Matrix for us.

@ryanjjung ryanjjung self-assigned this Dec 11, 2024
@Sancus
Copy link
Member

Sancus commented Dec 15, 2024

SNS can publish to text messages, mobile push notifications, sqs queues, arbitrary http/https webhooks, lambda, and many other things via firehose. So it's really just a pick your poison situation.

Personally I'd probably just build a standard persistent bot that gets notified by webhook, rather than trying to make a lambda that reconnects and bails every time it needs to send a message. But whatever works.

@ryanjjung
Copy link
Collaborator Author

Mel pointed me to postmoogle, which is an email server that bridges inbound messages over to Matrix channels (among other things). So for a Matrix-specific solution, that's an option. It would likely run as a container in Fargate, a separate deployment/stack. That would solve the current ask (alert to Matrix), though I will take a look at other options because Matrix-backed solutions don't generally appear, from the little bit of searching around I did the other day, very stable or well-maintained.

Email notification is what's built into SNS at its core, but yeah, you can subscribe almost anything to it. Until something more sophisticated comes along (on-call schedule/rotation, etc.), Matrix alerts seem the most immediate solution for notifying teams of alerts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants