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

Configuration as Code - Load monitors from file at startup #668

Closed
jcouton opened this issue Oct 12, 2021 · 2 comments
Closed

Configuration as Code - Load monitors from file at startup #668

jcouton opened this issue Oct 12, 2021 · 2 comments
Labels
feature-request Request for new features to be added

Comments

@jcouton
Copy link

jcouton commented Oct 12, 2021

Is it a duplicate question?

No

Is your feature request related to a problem? Please describe.

This would help me bulk-edit monitors or use git to manage uptime-kuma configuration.

Describe the solution you'd like

A json/yaml file with a minimal description of monitors which can be inserted into the database during the startup of uptime-kuma.
The minimal description would be similar to what is required on the UI :

  • type,
  • name,
  • url,
  • timeout,
  • retries,
  • tags,
  • notifications (there is a catch there if the notification does not exist)

In case monitors are present in database and a file is found at startup, the name field would be used to detect duplicates and not import them again.

Describe alternatives you've considered

Altering the backup file to reimport it again, but a lot of fields are overwhelming to just add a bunch of monitors.

Additional context

The next step would be to configure the instance of uptime-kuma (auth, theme, global notfications, ...) using a file, but it does not feel that important

@jcouton jcouton added the feature-request Request for new features to be added label Oct 12, 2021
@louislam
Copy link
Owner

Duplicate of #270

@louislam louislam marked this as a duplicate of #270 Oct 12, 2021
@jcouton
Copy link
Author

jcouton commented Oct 12, 2021

My bad, I did search for a duplicate but could not find one.
Sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

2 participants