Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Bulk Edit #455

Open
rg9400 opened this issue Sep 21, 2021 · 17 comments
Open

[Feature Request] Bulk Edit #455

rg9400 opened this issue Sep 21, 2021 · 17 comments
Labels
area:dashboard The main dashboard page where monitors' status are shown area:monitor Everything related to monitors feature-request Request for new features to be added

Comments

@rg9400
Copy link

rg9400 commented Sep 21, 2021

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.

@rg9400 rg9400 added the feature-request Request for new features to be added label Sep 21, 2021
@Neer171

This comment was marked as spam.

@utlilb

This comment was marked as off-topic.

@yllekz

This comment was marked as resolved.

@Computroniks

This comment was marked as resolved.

@stanthewizzard

This comment was marked as spam.

@jeroenrotty

This comment was marked as spam.

@edewillians10
Copy link

so sad we can't add multiple URL
for sure this would be a great feature to have

@rhtenhove
Copy link

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.

@sourcecodemage
Copy link

sourcecodemage commented Feb 9, 2023

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.

@rhtenhove
Copy link

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.

@CommanderStorm
Copy link
Collaborator

@sourcecodemage
Sorry to necropost (mybe this can help you still): What you are searching for is declaring a maintenance window (basically a notification pause)

@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Jul 13, 2023

Along with this a bulk pause/resume option.

#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

This was referenced Jul 27, 2023
@jaxjexjox
Copy link

jaxjexjox commented Jul 31, 2023

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

@arazilsongweaver
Copy link

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.

@jaxjexjox
Copy link

Does anyone know if there's intention to look at this short or long term? Any ideas being thrown around about potential solutions?

Repository owner deleted a comment from spupuz Mar 13, 2024
@CommanderStorm
Copy link
Collaborator

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

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

@jaxjexjox
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dashboard The main dashboard page where monitors' status are shown area:monitor Everything related to monitors feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests