mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Configuration as Code - Load monitors from file at startup #392
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#392
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 :
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
@louislam commented on GitHub (Oct 12, 2021):
Duplicate of #270
@jcouton commented on GitHub (Oct 12, 2021):
My bad, I did search for a duplicate but could not find one.
Sorry