-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Define services form file. #270
Comments
👍 |
I would love this feature, we currently have over 300 services to monitor :-) |
Although it got a lot of thumbs up, it againsts my project styles. https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#project-styles If you love to config via yaml, I would suggest Gatus https://github.com/TwiN/gatus |
The config file doesn't have to be the primary, or only way of configuration. It would provide an alternative to the Web UI config, being not mandatory |
@louislam Please reconsider this feature request, as said earlier this is not a replacement but another way to configure the monitors, alerts, etc. This would allow a declarative way to automate what already exists, so its a complement. |
So disappointed to see this issue closed.. this is a great product but not being able to automate or have the config in version control will be impossible to scale so this is a no go for me now. |
Uptime-kuma is amazing, it's a shame it doesn't have the ability to pre-configure the endpoints on start-up. I'm awful with Javascript but it looks as though it could be achieved by updating the server.js after setup to simply check for a backup json file (maybe in the data/uploads folder) then use the functionality already provided by Importing a Backup in the Settings. It would probably look like this -
Maybe something like this:
Again, I'm terrible at JS so do point out if I'm being ridiculous. |
Just an update on this. You could get around this (sort of) by spinning up a container locally, adding all healthchecks. Once happy with all healthchecks you can then run a The next part is a bit fun (and could probably be done a better way) When you are spinning up a new instance/container of uptime-kuma you can run a |
It's a pity that this feature was abandoned. As @Xplouder said it will be a second way to define checks, this will enable the definition of checks as "configuration as code". |
My teams love Uptime Kuma and have been using it for a long time! At this moment we are growing exponentially with our services and would like to have a way to add a new service to a 'configuration file' and rollout the change to all our environments instead of pressing 'add monitor' on every kuma interface on every environment. I have seen a couple use cases where it could be nice to have the option to configure the monitors on deployment or atleast be able to 'control' the content of the I am open to build or help build a solution but I would like to see what would be a workable solution for the maintainer. TL;DR; I would like to be able to configure monitors from code, how is irrelevant for me but for example through a JSON file or SQL query. Please reconsider this feature as an optional option <3 |
Currently, we don't support an API, but you can look into the community-maintained https://uptime-kuma-api.readthedocs.io/en/latest/ or maybe https://github.com/MedAziz11/Uptime-Kuma-Web-API |
Such a shame. Has anyone made a fork that allows configuration files? |
This comment was marked as spam.
This comment was marked as spam.
Since IAC was a hard-requirement from my client I moved to https://github.com/TwiN/gatus/ |
Allow to define monitoring from a file, likely yaml. Ideally, multiple files.
This makes it compatible with CI / infra from file.
Files could be represented as (read-only, no-login) users (#128).
As a 3rd party, it could be implemented via the API (#118) by requesting current state, and adding/modifying/removing services, reaching the defined state.
GitHub Etiquette
The text was updated successfully, but these errors were encountered: