This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Remote Service Status (Module ?)
#1
Remote Service Status (Module ?)
I've added the Remote Service Status
by Bobby A - Download this thing at Github
Checkout demo here = http://status.sentora.ga/

My Set Up
https://testing123.ml

Can partially understand MySQL showing as Offline.
But confused why HTTP is showning Offline.

I have both HTTP & HTTPS sites running ok on Sentora
Reply
Thanks given by:
#2
RE: Remote Service Status (Module ?)
it shows all online and 3 days, 18 hours, 5 minutes uptime.. Smile

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#3
RE: Remote Service Status (Module ?)
Here is another example of how you can use the service status: https://www.mach-hosting.com/
On the top of my site Wink
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#4
RE: Remote Service Status (Module ?)
(01-29-2018, 02:42 PM)Ron-e Wrote: it shows all online and 3 days, 18 hours, 5 minutes uptime.. Smile

My Set Up
https://testing123.ml
----------------------------------------------------------------------------------------------------------------------
Here is another example of how you can use the service status: https://www.mach-hosting.com/
On the top of my site Wink...
>>>>
what wp theme & Server staus template you using for frontend of website @TGates ?
Reply
Thanks given by:
#5
RE: Remote Service Status (Module ?)
(01-30-2018, 01:54 PM)CMs222 Wrote: My Set Up
https://testing123.ml
----------------------------------------------------------------------------------------------------------------------
Here is another example of how you can use the service status: https://www.mach-hosting.com/
On the top of my site Wink...
>>>>
what wp theme & Server staus template you using for frontend of website @TGates ?

I refuse to use wordpress. I created the site myself using bootstrap as a css base. Same with the server status.

I just used basic php, html and css for the status block:
PHP Code:
<?php
/**
 * Remote Service Display module for ZPanelX (uses XMWS)
 * Written by Bobby Allen, 05/04/2012. 
 */
require_once('server_stats/conf.php');
require_once(
'server_stats/lib/servicestatus.inc.php');
?>
<div class="header-table">
    <table class="server-info">
        <tr>
            <td>Service Status</td>
            <td>
                <?php if ($response_array['xmws']['content']['portstatus']['web'] == 1) { ?>
                    <span style="color:green">Web</span>
                <?php } else { ?>
                    <span style="color:red">Web</span>
                <?php ?>
            </td>       
            <td>
                <?php if ($response_array['xmws']['content']['portstatus']['ftp'] == 1) { ?>
                    <span style="color:green">FTP</span>
                <?php } else { ?>
                    <span style="color:red">FTP</span>
                <?php ?>
            </td>     
            <td>
                <?php if ($response_array['xmws']['content']['portstatus']['smtp'] == 1) { ?>
                    <span style="color:green">SMTP</span>
                <?php } else { ?>
                    <span style="color:red">SMTP</span>
                <?php ?>
            </td>
            <td>
                <?php if ($response_array['xmws']['content']['portstatus']['pop3'] == 1) { ?>
                    <span style="color:green">POP3</span>
                <?php } else { ?>
                    <span style="color:red">POP3</span>
                <?php ?>
            </td>        
            <td>
                <?php if ($dnsresponse_array['xmws']['content']['portstatus']['status'] == 1) { ?>
                    <span style="color:green">DNS</span>
                <?php } else { ?>
                    <span style="color:red">DNS</span>
                <?php ?>
            </td>       
            <td>
                <?php if ($response_array['xmws']['content']['portstatus']['mysql'] == 1) { ?>
                    <span style="color:green">MySQL</span>
                <?php } else { ?>
                    <span style="color:red">MySQL</span>
                <?php ?>
            </td>        
            <td>
                <span style="color:green">Online</span> | <span style="color:red">Offline</span>
            </td>        
        </tr>
    </table>
</div> 
server-info css:
PHP Code:
.server-info tablethtd {
    
border1px solid # 666; // remove space after #
    
border-collapsecollapse;
    
font-size10px;
    
padding2px;
    
text-aligncenter;

-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: CMs222
#6
RE: Remote Service Status (Module ?)
(02-02-2018, 08:37 AM)TGates Wrote: I created the site myself using bootstrap as a css base.
and a littlebit help from a html5 template.. Tongue

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#7
RE: Remote Service Status (Module ?)
(02-03-2018, 12:46 AM)Ron-e Wrote: and a littlebit help from a html5 template.. Tongue

Yes, that too LOL I forgot since I customized the heck out of it Big Grin
It's just a shame that any decent site using html5 and bootstrap is almost immediately presumed to be WP Dodgy
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[Request] BoxBilling api module. cyber1995 4 13 ,372 10-23-2021, 05:29 AM
Last Post: sparkrack
Module Repo Beta Chris L 3 7 ,224 08-13-2021, 02:32 AM
Last Post: Chris L
Cloud module repo spoonman 0 2 ,545 02-28-2021, 01:34 AM
Last Post: spoonman

Forum Jump:


Users browsing this thread: 1 Guest(s)