Feature: Make it extremly easy to add multiple monitors fast #957

Closed
opened 2026-02-28 02:05:21 -05:00 by deekerman · 19 comments
Owner

Originally created by @jesperordrup on GitHub (Apr 5, 2022).

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

  • 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

Originally created by @jesperordrup on GitHub (Apr 5, 2022). ### ⚠️ 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_
deekerman 2026-02-28 02:05:21 -05:00
Author
Owner

@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 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).
Author
Owner

@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.

@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.
Author
Owner

@zedreez commented on GitHub (May 6, 2022):

I'm hoping it will be priority :'

@zedreez commented on GitHub (May 6, 2022): I'm hoping it will be priority :'
Author
Owner

@Computroniks commented on GitHub (May 6, 2022):

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.

@Computroniks commented on GitHub (May 6, 2022): > 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.
Author
Owner

@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

@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
Author
Owner

@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

@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
Author
Owner

@R0GGER commented on GitHub (Oct 2, 2022):

Any progress here?

@R0GGER commented on GitHub (Oct 2, 2022): Any progress here?
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@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

@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
Author
Owner

@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!

@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!
Author
Owner

@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): @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](https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc), as always: [Pull Requests](https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md) welcome.
Author
Owner

@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)

@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)
Author
Owner

@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 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
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@meanaverage commented on GitHub (Jan 8, 2024):

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

@meanaverage commented on GitHub (Jan 8, 2024): > 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
Author
Owner

@CommanderStorm commented on GitHub (Jan 8, 2024):

the scripts directly writes into the kuma.db

Please use third party tooling like https://uptime-kuma-api.readthedocs.io/ instead

@CommanderStorm commented on GitHub (Jan 8, 2024): > the scripts directly writes into the kuma.db Please use third party tooling like https://uptime-kuma-api.readthedocs.io/ instead
Author
Owner

@meanaverage commented on GitHub (Jan 8, 2024):

I didn't realize there was already a robust API. Terrific!

@meanaverage commented on GitHub (Jan 8, 2024): I didn't realize there was already a robust API. Terrific!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#957
No description provided.