CB-HS Matt Posted May 6, 2010 Share Posted May 6, 2010 Hi, I was wondering if anyone knew of a more detailed informative status page? I don't think anyone looking at that would understand what it means unless they were atleast a level 2 tech. I would like it to integrate with whmcs as well so when a client looks at servers he/she can take a peak. And also, why does the status folder supplied by whmcs not show phpinfo it seems to always not work? Regards, 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 6, 2010 WHMCS Support Manager Share Posted May 6, 2010 You can edit serverstatus.tpl to adjust the page to meet the needs of your users. Regarding the PHP Info issue refer to http://wiki.whmcs.com/Common_Troubleshooting_Tips#Server_load.2C_uptime_and_phpinfo_always_say_Unavailable_or_00:00:00 0 Quote Link to comment Share on other sites More sharing options...
CB-HS Matt Posted May 6, 2010 Author Share Posted May 6, 2010 anything else? different script? or is that the only one functional with whmcs? 0 Quote Link to comment Share on other sites More sharing options...
Cubeboy Posted May 7, 2010 Share Posted May 7, 2010 (edited) {if $loggedin} <p>{$LANG.serverstatusheadingtext}</p> <table class="clientareatable" align="center" cellspacing="1"> <tr class="clientareatableheading"></tr> {foreach key=num item=server from=$servers} <tr class="clientareatableactive"></tr> {foreachelse}<tr class="clientareatableactive"> <td colspan="7">{$LANG.serverstatusnoservers}</td> </tr> {/foreach} </table> <div align="center"> <center> <table border="3" cellpadding="5" cellspacing="0" width="61%" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td width="54%" bgcolor="#FF9900"><b><font size="5" face="Tahoma">SERVICES</font></b></td> <td width="70%" bgcolor="#FF9900"><b><font face="Tahoma" size="5">AKA </font></b></td> <td width="48%" bgcolor="#FF9900"><b><font size="5" face="Tahoma">STATUS</font></b></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma"><br> Server Load<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">LOAD</font></b></td> <td width="48%"><font SIZE="4" face="Tahoma"><b>{$server.serverload}</b></font></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma">Web Server<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">HTTP</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="80"}</font></b></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma">File Transfer Server<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">FTP</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="21"}</font></b></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma">Incoming Mail Server<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">POP3</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="110"}</font></b></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma">Outgoing Mail Server<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">SMTP</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="26"}</font></b></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma">Domain Name Server<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">DNS</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="53"}</font></b></td> </tr> <tr> <td width="54%"><b><font size="4" face="Tahoma">Secure Server<br> </font></b></td> <td width="70%"><b><font face="Tahoma" size="4">SSL</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="443"}</font></b></td> </tr> <tr> <td width="69%"><b><font size="4" face="Tahoma">Control Panel<br> </font></b></td> <td width="55%"><b><font face="Tahoma" size="4">CP</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="2082"}</font></b></td> </tr> <tr> <td width="69%"><b><font size="4" face="Tahoma">My SQL Server<br> </font></b></td> <td width="55%"><b><font face="Tahoma" size="4">MYSQL</font></b></td> <td width="48%"><b><font size="4" face="Tahoma">{get_port_status num="$num" port="3306"}</font></b></td> </tr> </table></center> </div> {else} <p>{$LANG.loginintrotext}</p> <form action="dologin.php?goto=serverstatus" method="post"> <table align="center"> <tr><td align="right">{$LANG.loginemail}:</td><td><input type="text" name="username" size="40" value="{$username}"></td></tr> <tr><td align="right">{$LANG.loginpassword}:</td><td><input type="password" name="password" size="25" value="{$password}"></td></tr> </table> <p align="center"><input type="submit" value="{$LANG.loginbutton}"><br><input type="checkbox" name="rememberme"{$rememberme}> {$LANG.loginrememberme}</p> </form> <p><b>{$LANG.loginforgotten}</B> <a href="passwordreminder.php">{$LANG.loginforgotteninstructions}</a>.</p> {/if} Edited May 7, 2010 by Cubeboy you put this into your serverstatus.tpl file 0 Quote Link to comment Share on other sites More sharing options...
disgruntled Posted May 14, 2012 Share Posted May 14, 2012 The newer version of the tpl file looks like this its cleaner and easy to work with, i have added a few of my own port checks found in the above post or things i thought would be useful to others, Here it is. whmcs/templates/active_template/serverstatus.tpl is the file to edit First row <th>{$LANG.servername}</th> <th class="textcenter">HTTP</th> <th class="textcenter">FTP</th> <th class="textcenter">POP3</th> <th class="textcenter">IMAP</th> <th class="textcenter">SMTP</th> <th class="textcenter">MySQL</th> <th class="textcenter">{$LANG.serverstatusserverload}</th> <th class="textcenter">{$LANG.serverstatusuptime}</th> Status rows. <td>{$server.name}</td> <td class="textcenter">{get_port_status num="$num" port="80"}</td> <td class="textcenter">{get_port_status num="$num" port="21"}</td> <td class="textcenter">{get_port_status num="$num" port="110"}</td> <td class="textcenter">{get_port_status num="$num" port="143"}</td> <td class="textcenter">{get_port_status num="$num" port="25"}</td> <td class="textcenter">{get_port_status num="$num" port="3306"}</td> <td class="textcenter">{$server.serverload}</td> <td class="textcenter">{$server.uptime|replace:'Days':$LANG.days}</td> While i am on this subject, if anybody knows how to add in a check to see if the client has an active account on the so as only to display clients servers this would be great to know. 0 Quote Link to comment Share on other sites More sharing options...
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.