mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Feature: Make it extremly easy to add multiple monitors fast #957
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#957
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jesperordrup on GitHub (Apr 5, 2022).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
UI Feature
🔖 Feature description
While the interface is amazingly nice it's still a big task to add 5, 10, 50 monitors. Make it easy.
✔️ Solution
The simple
I suggest to make an option to add multiple montors in a row. Consider this: you have a list of monitors prepared in your notepad, exported from another system or whatever. Now consider you
Now you have 50 monitors. A few needs adjustments, most dont
The one with extra "ommph"
Expand the format to allow for specifying a few key options directly in the copy paste. Key is keeping it simple and not go nuts on how much to specify:
ping:hostname
http://hostname
http://hostname, keyword
tcp:hostname
dns:hostname
❓ Alternatives
Api - but this is diffferent. It's easy for onboarding and you get ppl to see the full potential
📝 Additional Context
No response
@Computroniks commented on GitHub (Apr 9, 2022):
This would be a great feature to have. If each monitor were to be added on a new line then the list could be converted into an array and then iterated over to add them all. I might be able to work on this in the next few days to a week but I am not sure where we are at regarding to new features (#1349).
@Computroniks commented on GitHub (Apr 13, 2022):
For this, I think that the simple option is more than powerfull enough without overly complicating the implementation. The issue I see with the extended solution is the required non default options that are required for some of the monitors.
@zedreez commented on GitHub (May 6, 2022):
I'm hoping it will be priority :'
@Computroniks commented on GitHub (May 6, 2022):
Sorry, I have had to do a load of other stuff and am having to revise for some exams currently so I don't think I will be able to do any meaningful work on this in the short term. If someone else would like to take this on then just comment here otherwise I will try to get around to this as soon as possible. Sorry for not being able to complete this sooner.
@phinnay commented on GitHub (Jul 6, 2022):
Seconding this, a way to bulk import would be fantastic - My use case would love a way to import all the monitors needed in a CSV that can be uploaded to create entries.
It'd be even greater if Uptime-Kuma could watch a file / folder for changes and add or remove monitors from a CSV that can be edited from external applications.
Great product! keep up the good work :D
@mingal commented on GitHub (Aug 19, 2022):
yeah, i have been waiting for this feature for ages! i hope dev will add bulk import soon
@R0GGER commented on GitHub (Oct 2, 2022):
Any progress here?
@arma26 commented on GitHub (Dec 13, 2022):
Hi, kind of hijacking this ticket. I'm interested in keeping my hosts stored in configuration management, as well as generating them from dynamic sources such as Consul. (though the source isn't relevant to the issue)
On the settings/backup page, there's an import/export for a json configuration, I can use https://jsonnet.org/ to template this data and generate a configuration for all of my hosts pretty easily.
I noticed on that page: Deprecated: Since a lot of features added and this backup feature is a bit unmaintained, it cannot generate or restore a complete backup.
I have no desire to backup historical data, I only need a way of bulk inserting hosts. I'd even be fine with a bulk insert box that accepts CSV data or something similar.
So I guess the issue is: please don't deprecate the import feature, and instead repurpose it to "import/export monitors"
I have an example of what I setup here https://gist.github.com/arma26/6f8fab4e370bf170c83de4f6d6c8be9e
I would appreciate a way to curl -X POST the config directly into the app, but that's not really necessary.
@mmaxwell5 commented on GitHub (Jan 26, 2023):
The ability to easily add multiple Monitor's would be a game changer. Any plans for this feature? Thanks.
@ligouras commented on GitHub (Feb 7, 2023):
I have created a simple script which uses Socket.io to add http(s) monitors from a csv file. I'm adding it here for anyone who may need such functionality.
https://github.com/ligouras/kuma-init
@jaxjexjox commented on GitHub (Aug 24, 2023):
Totally dying for some bulk edit option, don't care how ugly it is, as long as it's functional.
Thanks so much for all the hard work!
@CommanderStorm commented on GitHub (Aug 24, 2023):
@phinnay
You want #1190 instead
@jaxjexjox @R0GGER @mmaxwell5 @mingal
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.
@CommanderStorm commented on GitHub (Aug 24, 2023):
As @ligouras mentioned above, if you need such an option, you can use external api-providers (For obvious reasons, do a small security audit first, this is neither an endorsement nor the contrary).
You may also be able to use the backup feature to get monitors imported.
Please note though that the backup feature is not 100% functional as the warning in the UI states (for example https://github.com/louislam/uptime-kuma/issues/2015 or https://github.com/louislam/uptime-kuma/issues/1631)
@FaisalAli92 commented on GitHub (Sep 17, 2023):
Hello everyone is there an update on this feature?
I want to bulk import a list of ping monitors what I am doing is that I took a backup from the Kuma UI and trying to append the monitors then re-import the new json.
if anyone can help me with my workaround that will be greatly appreciated.
Keep up the great work
@FaisalAli92 commented on GitHub (Sep 19, 2023):
Hello Since no one responded to me I went on and found my own workaround for bulk adding multiple monitors.
I needed to add a ping monitor for multiple groups with each group having multiple IPs to ping.
I created each group manually then I wrote a Python script that takes from a text file that has the name and Ips I want to add.
the scripts directly writes into the kuma.db.
this can be one workaround until the feature is added.
@jesperordrup commented on GitHub (Sep 19, 2023):
Not all issues goes to heaven. This one didn't. I of course think this is a no-brainer but ain't it always like that. 😎
It's from April, 22 so Im just gonna close my suggestion (seems I can) - don't know why it's open when it clearly is not ment to be solved.
@meanaverage commented on GitHub (Jan 8, 2024):
Could you please share your python script? Thanks
@CommanderStorm commented on GitHub (Jan 8, 2024):
Please use third party tooling like https://uptime-kuma-api.readthedocs.io/ instead
@meanaverage commented on GitHub (Jan 8, 2024):
I didn't realize there was already a robust API. Terrific!
docker compose/docker swarmstacks as groups to be tracked #2920