louislam / uptime-kuma

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

Option for notification on message change #2053

Open mtelgkamp opened 2 years ago

mtelgkamp commented 2 years ago

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

🏷️ Feature Request Type

New Notification, Other

🔖 Feature description

If you have a monitor and it is down, it might be interesting to see a change of the message / Problem.

Example 1: Push monitor, changes the error message Example 2: HTTPS monitor, changes from DNS Problem to Status 50X problem

✔️ Solution

I would like to have an option to be notified during down status when the message changes. It might even be interesting to be notified on a message change during up status for example for some push monitors.

❓ Alternatives

An alternative for the push notification option would be to have multiple monitors that only look at on problem at a time.

📝 Additional Context

mtelgkamp commented 2 years ago

This is in some extend related to #1605 which promotes some kind of "info" or "warning" status option and the possibility to push changes in the message to the log without changing the status.

kennyparsons commented 2 years ago

👍 +1 upvoting this as well. I, however, need it for up as well. I use push monitors as a way to send bits of data periodically. Something might trigger the hook, causing the monitor to be up. But I don't know what caused the trigger from uptime-kuma's perspective, so including the msg field and triggering updates would provide this to me "at a glance."

projx commented 2 years ago

I was just coming to request this myself - I have a cronjob that updates my DDNS, if it fails, it sends an notification via Push monitoring - But I'd also like to be able send a notification if the IP has changed, so the service is still up, but has changed..

J-Prince commented 1 year ago

I would also like the MSG parameter to be logged/notified when it is different from the previous one, even if status remains up.

Suven-p commented 2 weeks ago

Would it be acceptable to do this independently? I am thinking by adding two checks under advanced section for "Log all events" and "Notify on all events". Something like image

CommanderStorm commented 2 weeks ago

Notify on all events

Notifying on all means storing all. See #4500 why this is not a good idea for performance reasons.