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

Closed
opened 2026-02-28 01:44:57 -05:00 by deekerman · 2 comments
Owner

Originally created by @jcouton on GitHub (Oct 12, 2021).

Is it a duplicate question?

No

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

Originally created by @jcouton on GitHub (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
deekerman 2026-02-28 01:44:57 -05:00
Author
Owner

@louislam commented on GitHub (Oct 12, 2021):

Duplicate of #270

@louislam commented on GitHub (Oct 12, 2021): Duplicate of #270
Author
Owner

@jcouton commented on GitHub (Oct 12, 2021):

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

@jcouton commented on GitHub (Oct 12, 2021): My bad, I did search for a duplicate but could not find one. Sorry
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#392
No description provided.