louislam / uptime-kuma

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

[discord] Custom notification embed #1388

Open ririko5834 opened 2 years ago

ririko5834 commented 2 years ago

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

🏷️ Feature Request Type

New Notification

🔖 Feature description

Add way to setup custom Discord notification body with placeholders

✔️ Solution

Add some textfield where you can edit JSON body that will be posted to webhook for providers such as Discord, Slack, and others. There should be placeholders like {{monitor.name}} that will be replaced with monitor name, etc.

❓ Alternatives

No response

📝 Additional Context

No response

Serpensin commented 2 years ago

Yeah. I need the ability to remove the 'Service URL' for specific monitors because they contain sensible data.

xeruf commented 2 years ago

See https://github.com/louislam/uptime-kuma/issues/907

MWGMorningwood commented 2 years ago

Yeah. I need the ability to remove the 'Service URL' for specific monitors because they contain sensible data.

^this- a lot of the queries i'm using now are API based and include the key