Blesta Addons Posted September 6, 2014 Report Posted September 6, 2014 Hello all , i will begin in coding new plugin "server status" , what i have in the first release is the fallowing add/edit/delete server . monitor ports : 80 apache , 53 mysql , 21 ftp ; check status in realtime (on page load) . TODO in next releases : set ports to check . cron jobs to check servers every X minutes ; alert by email when server is down . store monitoring status for X last Days/mounths show the average online/outage percent . any idea to add ? Joseph H, flangefrog and Paul 3 Quote
domaingood Posted September 6, 2014 Report Posted September 6, 2014 Ubershimth have like this called device monitor. +1 for that Quote
flangefrog Posted September 6, 2014 Report Posted September 6, 2014 If you're running PHP-FPM you will need to do additional checks to ensure that it is running. You could integrate it with the PHP-FPM status page and even with the Apache status page for more detailed info. Quote
Blesta Addons Posted September 6, 2014 Author Report Posted September 6, 2014 If you're running PHP-FPM you will need to do additional checks to ensure that it is running. You could integrate it with the PHP-FPM status page and even with the Apache status page for more detailed info. this method need that some php function should be allowed , a lot of host block checking directly the apache status . we should implement function that is workable for all (root/users) . my idea was likely like this http://www.phpservermonitor.org/ , but without storing data at the moments, if i have more time i can think to integrate the full script to blesta , but with the lock of time i decided to work with the basics now . Quote
flangefrog Posted September 6, 2014 Report Posted September 6, 2014 What about downloading a PHP page from the website and checking it for some text? e.g. blesta.com and <img src="http://www.blesta.com/wp-content/themes/blesta/img/logo.png" alt="Blesta" width="164" height="41"> Quote
Michael Posted September 6, 2014 Report Posted September 6, 2014 I like https://status.botox.bz/ & https://www.cloudflare.com/system-status with a way we can write a note why the server was down and updates etc. Quote
Paul Posted September 6, 2014 Report Posted September 6, 2014 I'm picturing colored statuses for each service that's being monitored in the client area or front facing page. <span class="label label-success">OK</span><span class="label label-warning">Warning</span><span class="label label-danger">Critical</span>Edit: I would also suggest caching the results for a period of time so that a lot of traffic won't cause a lot of requests. This could otherwise be used to cause a sort of dos attack. On page load, check cache. If cache is expired, query servers. If cache is not expired, serve from cache. Keep the cache for a minute or so. Michael and domaingood 2 Quote
Blesta Addons Posted September 7, 2014 Author Report Posted September 7, 2014 What about downloading a PHP page from the website and checking it for some text? e.g. blesta.com and <img [/size]src[/size]="[/size]http://www.blesta.com/wp-content/themes/blesta/img/logo.png" [/size]alt[/size]="[/size]Blesta[/size]" [/size]width[/size]="[/size]164[/size]" [/size]height[/size]="[/size]41[/size]">[/size] this ned to make a custom regex and the admin should specify a customurl , as told before , i'm searching a basic way to work for all . I like https://status.botox.bz/ & https://www.cloudflare.com/system-status with a way we can write a note why the server was down and updates etc. the first link is not what we can implement , as need a master and client server , is used for monitoring servers with complexe data and structure like nagios , not usable in our case . the second link of cloudflare is a good way for the view template . I'm picturing colored statuses for each service that's being monitored in the client area or front facing page. <span class="label label-success">OK</span> <span class="label label-warning">Warning</span> <span class="label label-danger">Critical</span> Edit: I would also suggest caching the results for a period of time so that a lot of traffic won't cause a lot of requests. This could otherwise be used to cause a sort of dos attack. On page load, check cache. If cache is expired, query servers. If cache is not expired, serve from cache. Keep the cache for a minute or so. Great note , i will add it to my code . Michael 1 Quote
FoxDenHosting Posted September 7, 2014 Report Posted September 7, 2014 Something that looks similiar to http://status2k.com would be amazing! domaingood and Michael 2 Quote
serge Posted January 31, 2015 Report Posted January 31, 2015 why not using things like that, they do have freemium plan: https://anturis.com http://www.monitor.us and if you have a lot of servers to monitor, this free open sources software is very reputed, even for thousand of servers: Xymon (old name Hobbit): http://sourceforge.net/projects/xymon/ Quote
Blesta Addons Posted January 31, 2015 Author Report Posted January 31, 2015 Any Updates? is still in my radar , but i have some other task to finish now . i don't have ETA for it now . Michael 1 Quote
MiikaaQC Posted May 4, 2017 Report Posted May 4, 2017 a little up for that, blesta still missing that plugin Quote
Michael Foland Posted May 13, 2017 Report Posted May 13, 2017 What about something like this: http://status.a2hosting.com/ Yes, it's from WHMCS... but I love how WHMCS does it.. As well as the status, you can put any news or other issues that is going on, and you can post updates as you work on it? I'd love have this kind of module! I love Blesta, but I've been noticing some things missing! I love how you can openly customize Blesta It's MUCH Cheaper, and better than WHMCS in my opinion! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.