-
Notifications
You must be signed in to change notification settings - Fork 91
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
Uptime monitor #152
Uptime monitor #152
Conversation
forgotten $ and wrong variable
for better readability
add flatpickr locally, update to jquerry 3.6
functions improved to make it easier to implement enhancements
Once I merge https://github.com/server-status-project/server-status/tree/cleanup would you be interested in reworking this to match the updated version? I expect that there are changes in this PR that are not directly related to uptime monitoring, right? BTW what does this check exactly? From the code it seems to use curl, so it checks the HTTP code returned from the server? I am wondering whether using an external service such as freshping.io and listening for updates wouldn't be better as they can probably check the services more reliably (via PING / HTTP requests and more) and it wouldn't require users to be able to set up cron. |
I think an external service is better, so a user can use their preferred monitoring solution. Most of them have a webhook integration, so we could change our API to allow management of status entries. |
One does not exclude the other @jhuesser |
Actually, this PR should not contain anything except monitoring, but I have continued to work on codeberg for quite some time External services are always very questionable from a data protection point of view, which is why I decided to work on the project. |
deferred until pr #162 is done |
Checks IP's and URL's if they are reachable and writes an entry into the database if the status changes.
Execution:
Calling the file /admin/cron.php
This shows the current status when you execute it in the browser.
Reference #3