louislam / uptime-kuma

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

Dynamically create multiple sub-Monitors based on `name`-parameters pushed to a primary PUSH monitor #1974

Open gautamsi opened 2 years ago

gautamsi commented 2 years ago

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

🏷️ Feature Request Type

UI Feature

πŸ”– Feature description

Please add ability to auto-create monitors based on name parameter in PUSH url. Show the auto-created monitors as child of base monitor like hierarchy. It will also be helpful to add multiple parameters to push url which will auto-create unique monitors dynamically.

These monitors may also contribute to the final status of push monitor.

βœ”οΈ Solution

have several docker containers which have different name but similar kind of workload, say workers. These are dynamic numbers and I want to create ONE push monitor push different parameters to auto populate them in status page for monitoring. They may be cooldown period after which those orphaned monitors (not reporting in x hours/days) get auto cleaned.

I scale up and down those workers so it will be useful to have them show up in status page without manually pre-creating that many push urls.

❓ Alternatives

N/A

πŸ“ Additional Context

No response

Lwtsde commented 9 months ago

Bump 2024! I am receiving a JSON-Array with clients that I would love to automatically be monitors in a group!

CommanderStorm commented 9 months ago

@Lwtsde Please refrain from posting +1 / requests for updates things on issues, as this makes issue-management harder. Issues are for discussing what needs to be done how by whom. We use πŸ‘πŸ» on issues to prioritise work, as always: Pull Requests welcome.

Note that third party apis exist and that they might be better suited to your usecase. See https://uptime-kuma-api.readthedocs.io/en/latest/ for further details. A first party api is coming, but this will take some time. See #3854 for further details.