uptime-kuma
uptime-kuma copied to clipboard
[Feature Request] Bulk Edit
Is your feature request related to a problem? Please describe. For the various monitors, some of the settings are consistent, e.g. the interval between checks. If you have a lot of monitors (70 in my case), it becomes cumbersome to change each one manually when I want to make a bulk edit.
Describe the solution you'd like It would be nice to give an option to bulk edit and bulk delete monitors.
Describe alternatives you've considered Manually edit each monitor, or edit the DB. One is time consuming, the other is potentially risky/destructive.
yeah it will be great.
Along with this a bulk pause/resume option.
Would be super interested in this. I need to take my NAS down for maintenance and I currently have a separate server monitoring each and every individual Docker container hosted on it. Presently I need to click into each monitor and pause them but it would be cool to just be able to change into a "bulk" mode and pause them that way.
Just going to link in #1457 here. They are not the same but closely related.
yes would be awesome for all the settings :)
Just started using Uptime Kuma the last week and I'm missing this badly.
so sad we can't add multiple URL for sure this would be a great feature to have
There's a way to do bulk editing if you're not afraid to do SQL queries.
For example, after installing the tool sqlite3
, the following will set the retries for all monitors to 5.
sqlite3 kuma.db "UPDATE monitor SET maxretries = 5;"
Adding monitors (and other scripted changes such as the above) can probably easily be automated using this project.
Is the value read by the application "live" or would I need to restart uptime kuma after making the change?
I installed uptime kuma yesterday, set up a bunch of monitoring, and rebooted my virtualization hosts that everything runs on today. Wow, I got a flood of down and up alerts. There might be another way to avoid getting them, but I like allowing for short downtimes for reboots and application restarts . Especially now when I'm re-organizing my home network and moving apps to new homes.
It's undocumented, so all bets are off. Give it a go and see what happens. Perhaps some monitors will read the value over time. I would recommend making such changes while uptime kuma is down, to prevent inconsistencies.
@sourcecodemage Sorry to necropost (mybe this can help you still): What you are searching for is declaring a maintenance window (basically a notification pause)
Along with this a bulk pause/resume option.
https://github.com/louislam/uptime-kuma/pull/1886 which is slated to be in the 1.23
release is doing work which could allow for editing in a PR down the line
I will personally donate 20 us dollars towards the project for bulk edit mode.
It will solve a variety of issues I have.
Your hard work is appreciated.
I recommend others consider offering some kind of bounty.
Thank you for your time! It's very much appreciated
To be clear I suspect some kind of messy, large, almost excel spreadsheet looking interface would be easiest for this.
It won't be pretty and it will look bad on mobile, but for those of us on desktop, trying to get things done, this could be a massive time saver.
Thank you
I would like to see a bulk edit function similar to the SolarWinds Orion product line.
On those products, you select the items you want to edit from the list and then hit the "Edit" button. That brings you to a modified device configuration screen. The screen looks like an individual configuration screen but with a few differences:
- There is a listing of devices that are being modified at the top of the page.
- All fields start off disabled. All fields are left blank except for fields where all of the configured items have a common value.
- Each configuration line has a checkbox on the left side that enables the field to be modified.
- You can modify multiple configuration fields at one time by checking the boxes for the fields that you want to modify.
- Enabling a line (using the check box), modifying the value on the page, and then hitting "Submit" causes that field to get updated to the new value on all selected devices.
I have found this method to be extremely efficient for editing large groups of devices that require certain uniform parameters.
Does anyone know if there's intention to look at this short or long term? Any ideas being thrown around about potential solutions?
if there's intention to look at this short or long term
When you look at recent releases, we have made some progress in this regard.
Though, no plan has been made for concrete solutions to this subproblem. I also don't know how we should approach this (read: how does this functional and architectural work), as this seems like a huge (and difficult to get right) issue.
For the next 2 or 3 releases, I think this is not something that core maintainers will tackle (fixing performance, user management and the api are big enough changes). Though, this is open source => timelines are fluid, our contribution guide is here... 😉
I really appreciate the help and I maintain my $20 US bounty <3
I just want a big, giant, messy, nasty, sheet with all the fields open in front of me, that I can double click on a field, change something.
(example heartbeat interval, choosing the monitor group, etc)
Like I said I think the best solution is a horribl ugly, giant page (for the time being