uptime-kuma
uptime-kuma copied to clipboard
Feature: Make it extremly easy to add multiple monitors fast
⚠️ Please verify that this feature request has NOT been suggested before.
- [X] I checked and didn't find similar feature request
🏷️ 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
- copy all 50 lines of hostnames,
- click on add multiple, insert the 50 hostnames in a textarea and
- then choose monitor type for all
- click create all
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
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).
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.
I'm hoping it will be priority :'
I'm hoping it will be priority :'
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.
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
yeah, i have been waiting for this feature for ages! i hope dev will add bulk import soon
Any progress here?
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.
The ability to easily add multiple Monitor's would be a game changer. Any plans for this feature? Thanks.
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
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!
@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.
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)
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
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.
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.
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.
Could you please share your python script? Thanks
the scripts directly writes into the kuma.db
Please use third party tooling like https://uptime-kuma-api.readthedocs.io/ instead
I didn't realize there was already a robust API. Terrific!