server-status
server-status copied to clipboard
Uptime monitoring
Would be nice to have the option to use our script (cron) to check server up-time. It should be possible to connect that to services and provide a nice visualization like https://help.statuspage.io/knowledge_base/topics/uptime-calendar. This feature could be also used to identify network problems that aren't on our side, when webhook is triggered.
For some common platforms we can have some plugins (for apps like WP) and for no common apps we can create a simple php script that will check the db connection and reply with its status when a ping from the server-status was made
This feature will soon be available in Beta
Rather than recreating the wheel and having a new fully fledged monitoring system built inside server-status, why not try and integrate with an existing monitoring product? Seems like a lot of effort to create a good and reliable monitoring system with graphing from scratch when there are some ready made products one could make a plugin for.
One possible open source simple monitor solution that should be fairly simple to grab uptime graphs from is https://github.com/phpservermon/phpservermon.
What do you think @yigitkeremoktay @Pryx ?
I say let's give it a shot
currently I am trying to develop something for it https://github.com/Tealk/phpservermon-serverstatus-bridge
currently I have the problem that phpservermon does not pass the data correctly
perhaps it would be better to include a rudimentary query, could someone help me with this?
Would be also cool, to upgrade the API, to allow creating issues. With that we could trigger web hooks from other monitoring systems (for example PRTG etc.) so they can change a status if downtime is detected. I think this would also solve #2
so i integrated the whole thing in server-status now, the corn is working but there is no update script yet and the acp is not ready yet either https://github.com/Tealk/server-status/blob/uptime-monitor/admin/cron.php