louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
55.04k stars 4.95k forks source link

Email Subscription on Status Page #916

Open sjkeerthi opened 2 years ago

sjkeerthi commented 2 years ago

โš ๏ธ Please verify that this bug has NOT been raised before.

๐Ÿ›ก๏ธ Security Policy

๐Ÿ“ Describe your problem

On the status page, I don't see any email Subscription while if I post any incident and update that alone should have go to the email who have subscribed.

Where can I find this information?

๐Ÿป Uptime-Kuma Version

1.10.2

๐Ÿ’ป Operating System and Arch

CentOS 7

๐ŸŒ Browser

FireFox 86.0

๐Ÿ‹ Docker Version

20

๐ŸŸฉ NodeJS Version

No response

deefdragon commented 2 years ago

If you asking for a way to have a way for anyone to subscribe to incidents on the status page, that is not something we have at the moment (and out of scope I think).

If you are you asking about creating an email notifications, Dashboard > Settings > Setup Notification > Notification type > Email (SMTP)

tplueer commented 2 years ago

Status pages cost a lot of money nowadays. A feature like that with the ability to create a planned maintenance would make this software a perfect alternative.

Big ๐Ÿ‘ from me !

janbaykara commented 2 years ago

Examples from the wild:

Twist

https://status.twist.io/

Twist is cool. It allows you to subscribe via email, slack, webhook, RSS and webhook.

Screenshot 2022-06-07 at 14 26 12 Screenshot 2022-06-07 at 14 26 21 Screenshot 2022-06-07 at 14 26 18

Github

https://www.githubstatus.com/#

Seems to use a very similar system.

Screenshot 2022-06-07 at 14 27 38

Statuspage

https://metastatuspage.com/#

Huh, same deal.

Screenshot 2022-06-07 at 14 28 27
RangersMS commented 2 years ago

Self subscribing would be awesome! E-Mail, RSS/Atom-Feed would be great for starter.

webysther commented 1 year ago

This feature make a lot of OSS projects move to this one.

janbaykara commented 1 year ago

I actually reckon that for OSS projects, https://github.com/upptime/upptime is a decent alternative as it's free and relies entirely on Github. Their use of Github issues / 'subscribe to issue' functionality for status page updates is really smart!

d19dotca commented 1 year ago

Really sad to see this feature still isn't available. This is the main thing preventing me from fully implementing Uptime-Kuma and switching from UptimeRobot. Please consider this feature soon. ๐Ÿ™ Cc @louislam

Swiftnesses commented 1 year ago

+1 for this, an absolute game changer!

Computroniks commented 1 year ago

I will have a look into implementing some of this. I think I might start with RSS/Atom feeds first as I think that these would probably be simpler to implement and then look into other notification methods for status pages.

I think an issue we might encounter with email notifications is when we have to send them to many clients, we risk overloading the SMTP server if we are not careful. We also have to take into account privacy when storing the clients emails and the host of legislation that comes with that. Hence why I am starting with RSS feeds.

I know about #2129 but this has been stale for months with no actual changes visible so I will just create a new PR.

Justinzobel commented 1 year ago

An SMTP server setting for emailing out would be a good configuration option to have then you can send it via a bigger mail host to ensure secure and reliable delivery and not have to worry about spam ratings etc.

d19dotca commented 1 year ago

Would love an update on this if possible, @louislam. This is a very important feature to many, and we hope it will arrive sooner than later. :-)

CommanderStorm commented 1 year ago

@d19dotca @Swiftnesses @RangersMS Please avoid adding +1 comments to issues, as this makes issue management worse. We use the ๐Ÿ‘๐Ÿป emojis on the issues as a way to gauge user-interest in issues.

d19dotca commented 1 year ago

There was no +1 comment from me, not quite sure why I was mentioned there. ๐Ÿคจ If you mean me asking for an update, that's not what most would consider a +1 IMO.

My vote was already placed on the main post several months ago. This post/issue is the top 5 most popular already too. ๐Ÿ™‚ Edit: See https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc

If you are in a position to provide an update on this one on behalf of @louislam as my earlier remark today was requesting, that'd be greatly appreciated.

CommanderStorm commented 1 year ago

There was no +1 comment from me, not quite sure why I was mentioned there. raised_eyebrow If you mean me asking for an update, that's not what most would consider a +1 IMO.

I am sorry, I think I was unclear in my message: The thing I was asking about was not adding comments without any additional value to the issue (as in +1-style comments). Asking for updates when there are important questions that need engineering (RSS Feed, GDPR/CCPA-Conformance, see comment from @Computroniks) is not helping make issues more manageable.

[!NOTE] There are no PRs in this regard, the work on this feature has not started yet. Given that this Project is open source, this can change (maybe you or someone else can provide a PR). Our contribution guide can be found here

Lets get this back to being productive. Subfeautures of this feature include:

RSS+Email-Backend as well as Admin+welcome emails+Email-Frontend are parametrisable

Am I missing something in this work plan? Are there people out there who would like to tackle one of these Subfeautures? @Computroniks you have said you would like to tackle the RSS feed, is this still correct?

CommanderStorm commented 1 year ago

This post/issue is the top 5 most popular already too. slightly_smiling_face

I just fact-checked this statement. This is not true. See https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc

d19dotca commented 1 year ago

Asking for updates when there are important questions that need engineering (RSS Feed, GDPR/CCPA-Conformance, see comment from @Computroniks) is not helping make issues more manageable.

IMO, there's nothing wrong with asking (as a user of this project) if there may be a desire to add this functionality this year or if it's longer off, or if it's not planned at all / won't be included in the product. For example, some comments above had suggested this is not a feature UptimeKuma should even consider, so it'd be good to know where the developers thoughts are on this one.

Given that your latest comment was productive and included a checklist of some sub-features and requesting assistance on them with some direction, I think we can agree my comment sparked that and created forward movement on this which is the desired outcome. It fills me with hope this will be included some day still.

So I think we may have to politely agree to disagree on this matter of whether my comment was considered just a "+1" or not. ๐Ÿ˜‰

Are there people out there who would like to tackle one of these Subfeautures?

I'm not a developer unfortunately but would like to help if possible. I'd be happy to be a tester for example. If I can contribute any small fixes to code though I'll certainly do that too.

This post/issue is the top 5 most popular already too. slightly_smiling_face I just fact-checked this statement. This is not true.

You're correct. I'm not sure what my sorting was on yesterday when I checked but it was high up the list at that time. I must have used the wrong emoji to sort by, that's my mistake. Sorry about that one. Either way though it's an important feature to many and a fundamental feature of pretty much any status page service out there, so hopefully this will be added in the not too distant future. ๐Ÿ™‚ I'll help however I can.

Computroniks commented 1 year ago

@Computroniks you have said you would like to tackle the RSS feed, is this still correct?

Sadly other things have got in the way and have had to take priority so in the next few months it is looking fairly unlikely that I would get any work towards this done. If someone else wants to have a go then feel free, otherwise I will leave it on my to-do list and get round to it when I have some time, probably around July/August.

anthosz commented 1 year ago

IMO, there's nothing wrong with asking (as a user of this project) if there may be a desire to add this functionality this year or if it's longer off, or if it's not planned at all / won't be included in the product. For example, some comments above had suggested this is not a feature UptimeKuma should even consider, so it'd be good to know where the developers thoughts are on this one. [...] So I think we may have to politely agree to disagree on this matter of whether my comment was considered just a "+1" or not. ๐Ÿ˜‰

Imo, your first comment doesn't add any added value. You are not the first and it's not only for this project but generally better to just add the +1 if we don't add a PR/MR or another interesting remark.

Ali-Razmjoo commented 1 year ago

Hi,

For the ones who are really in need of subscribe feature, there are two tricks;

  1. Use Listmonk to create a subscription form and configure uptime Kuma to send your lists and email when an update occurs (it needs an extra plugin to support Listmonk, and I suck in JS).
  2. I found an easier way (at least for me since I am using Google Workspace (GSuite)) to create a public Google group in our organization and ask users to subscribe to the group (you can create xxxx@googlegroups.com for free via a Gmail).

Just make sure that you limit the group owner to only being able to send posts. I joined via my email and created an alias in my Google Workspace admin console "uptime-kuma-notifications@mydomain.com" (well, I don't have to pay for a new user license in workspace now); and configured the SMTP notification to send emails using Amazon SES (costs around 1-2$ for 10,000 emails) from uptime-kuma-notifications@mydomain.com. It was successfully delivered to my group members. You must configure your DNS records, such as DKIM, to verify the integrity of the email.

image

I hope we get this feature soon so I can get rid of the Google Workspace group.

Bests, Ali.

TargetCrafter commented 11 months ago

I would prefer it to be a bit more detailed than the ones in Atlasian:

ctrought commented 6 months ago

Might be considered a separate feature, but implementing SSO for user mgmt could enable the users email to be collected automatically. Also probably would require an HTTP API to be exposed which I know is not the case currently.

  1. User logs into an existing website, that calls UK to "sign in" and create local instance of user in UK and set appropriate cookies for UK session
  2. User navigates to the status page, clicks "subscribe" and the users email information is already available as they are logged in so they are added to all notifications (could potentially select type of notifications, such as outages, resolution, etc)
  3. Add option to allow unauthenticated subscriptions which lets them type in the email freely if they navigate straight to the status page, but allow this to be disabled which forces users to be logged in to setup subscriptions.
CommanderStorm commented 6 months ago

@ctrought

Might be considered a separate feature

Agree, what you are requesting is a separate feature.

implementing SSO for user mgmt

Please see

would require an HTTP API to be exposed

Please see