louislam / uptime-kuma

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

Allow using CLIs for notifications #5039

Open mabed-fr opened 1 month ago

mabed-fr commented 1 month ago

📑 I have found these related issues/pull requests

not issue but idea

🏷️ Feature Request Type

Dashboard, Settings

🔖 Feature description

The functionality would bring a new menu called "hook" available in the settings (below Notifications)

The hooks can be added to one or more monitors and trigger by warning or down state

At my level the hooks will be able to add functionality like in CLI:

awscli: https://aws.amazon.com/en/cli/ cntb: https://help.contabo.com/en/support/solutions/articles/103000283067-what-is-the-cntb-tool-

This would allow restarts or other actions to be launched at providers

or open tickets (redmine....)

What do you think?

✔️ Solution

Add hook menu

❓ Alternatives

No response

📝 Additional Context

No response

CommanderStorm commented 1 month ago

Related, but on the monitor side: https://github.com/louislam/uptime-kuma/issues/1117

mabed-fr commented 1 month ago

Related, but on the monitor side: #1117

Yes on monitor side is good for first development but it can be add on parameter is more better for skip repeat.

CommanderStorm commented 1 month ago

Related != Duplicate