server-status icon indicating copy to clipboard operation
server-status copied to clipboard

Uptime monitoring

Open Pryx opened this issue 7 years ago • 8 comments

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.

Pryx avatar Jan 03 '18 12:01 Pryx

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

yigitkerem avatar Sep 08 '20 11:09 yigitkerem

This feature will soon be available in Beta

yigitkerem avatar Oct 02 '20 05:10 yigitkerem

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 ?

thnilsen avatar Nov 07 '20 22:11 thnilsen

I say let's give it a shot

yigitkerem avatar Nov 08 '20 05:11 yigitkerem

currently I am trying to develop something for it https://github.com/Tealk/phpservermon-serverstatus-bridge

Tealk avatar Apr 21 '21 13:04 Tealk

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?

Tealk avatar Apr 29 '21 08:04 Tealk

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

jhuesser avatar Apr 29 '21 16:04 jhuesser

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

Tealk avatar May 02 '21 11:05 Tealk