Open AlexM800 opened 2 years ago
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
@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
Such a good idea
Related #1534 #576
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ 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.