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

[Feature] Telegram /status command where it returns a full list with all the hosts. #880

Open
1 task done
AlexM800 opened this issue Nov 4, 2021 · 4 comments
Open
1 task done
Labels
area:notifications Everything related to notifications feature-request Request for new features to be added

Comments

@AlexM800
Copy link

AlexM800 commented Nov 4, 2021

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

UI Feature, Other

🔖 Feature description

I personally use multiple monitors (~50) some hosts go down for a few mins when it comes back it is hard to follow all the hosts that got down on telegram without login in into the website to check if there are any that are still down.

✔️ Solution

A telegram (/status) command where it responses with a list of all hosts one after another on each row in a message which are currently up / down as.

✔️Host1
✔️Host2
❓ Host3

❓ Alternatives

Re-sending a notifications for the ones that are still down after X amount of time.

📝 Additional Context

Hey Louis, thanks to you and to all contribuitors for the hard work with the uptime-kuma I must say I really love it.

@AlexM800 AlexM800 added the feature-request Request for new features to be added label Nov 4, 2021
@deefdragon
Copy link
Contributor

This is an unfortunately difficult task. The way that notifications are currently sent out is in a push only manner. As such, there is no way for UK to listen for the /status command and respond with the relevant data. It might have been possible if telegram let you pre-program a command's response, but it appears that that is not the case.

Were the API (#118) in place, it would be possible to program your own bot, but that is less than ideal, even if it was.

Back and forth communication is something to considered for long-term future versions of UK.

As for re-sending a notification, there are a number of linked issues around notification options, including re-sending notifications, at #233

@DatDraggy
Copy link

@deefdragon Telegram can send webhooks. Technically that could be an easy way to listen for the command. I might give this request a go myself when I can find some time

@MichelBaie

This comment was marked as spam.

@CommanderStorm CommanderStorm added the area:notifications Everything related to notifications label Dec 7, 2023
@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Dec 13, 2023

Related #1534 #576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:notifications Everything related to notifications feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

5 participants