louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
59.73k stars 5.34k forks source link

Backup Restore as a bulk input method #2402

Closed arma26 closed 1 year ago

arma26 commented 1 year ago

Hi, 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 find 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.

github-actions[bot] commented 1 year ago

@arma26: Hello! :wave:

This issue is being automatically closed because it does not follow the issue template. Please DO NOT open a blank issue.