Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.22k stars 1.38k forks source link

[FEATURE_REQUEST] Email notification when a service is down #580

Closed IOTech17 closed 2 years ago

IOTech17 commented 2 years ago

Is your feature request related to a problem? If so, please describe.

Hi,

First thank you for this wonderfull piece of software, it is very handy and easy to use.

Regarding the http status check, it would be great if you could implement an email notification when a service is down.

I do not want to deploy heavier monitoring tool, as they will be way too much for my use case.

Describe the solution you'd like

A simple email notification with the service name when a service is seen as down.

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

No response

liss-bot commented 2 years ago

Welcome to Dashy 👋 It's great to have you here, but unfortunately your ticket has been closed to prevent spam. Before reopening this issue, please ensure the following criteria are met.

Issues are sometimes closed when users:

Before you reopen this issue, please also ensure that:

Once you have verified the above standards are met, you may reopen this issue. Sorry for any inconvenience caused, I'm just a bot, and sometimes make mistakes 🤖

IOTech17 commented 2 years ago

@liss-bot reopen please.

Lissy93 commented 2 years ago

Hi @AC-WhiteGlint

Unfortunately, the way the app works means this isn't really possible. Since status checking happens on the client-side, it's triggered from the browser and stops when you close the window (so there aren't thousands of requests happening when you're not using the app). Dashy isn't intended to be an uptime monitor so I think this feature is a bit out of scope. Also building email notifications, is going to greatly increase complexity and attack surface.

I would recommend using a dedicated application, like Uptime Kuma. Alternatively write a simple script to periodically ping a list of endpoints and trigger an event when one is repeatedly down.

But if you're really set on doing this in Dashy, then feel free to fork the project and add it yourself. Here's a starting point:

liss-bot commented 2 years ago

Hello! Looks like additional info is required for this issue to be addressed. Don't forget to provide this within the next few days to keep your ticket open.

vbariteau-mwb commented 2 years ago

Thank you @Lissy93, I went with uptime-kuma which better suits my needs!

Lissy93 commented 2 years ago

Uptime Kuma is awesome, good choice :) I'm gonna close this ticket now....