2source Posted August 5, 2008 Share Posted August 5, 2008 Hi all, I am very new here and only just getting to grips with the system. I found a thread on here relating to server status and how to add additional ports to show the status. I have changed the code in serverstatus.tpl to add port 25 but it shows it as down? Have I missed something? Thanks Karl 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 6, 2008 Share Posted August 6, 2008 Hey Karl, What's the code, it's likely that you missed something somewhere, but lets see what code you're using and we'll help decipher it for you. 0 Quote Link to comment Share on other sites More sharing options...
2source Posted August 6, 2008 Author Share Posted August 6, 2008 Hi, This is how my serverstatus.tpl file looks. Is there any other files I need to change to allow me to add additional ports? <p>{$LANG.serverstatusheadingtext}</p> <table class="clientareatable" align="center" cellspacing="1"> <tr class="clientareatableheading"> <td>{$LANG.servername}</td> <td>HTTP</td> <td>FTP</td> <td>POP3</td> <td>Mail</td> <td>{$LANG.serverstatusphpinfo}</td> <td>{$LANG.serverstatusserverload}</td> <td>{$LANG.serverstatusuptime}</td> </tr> {foreach key=num item=server from=$servers} <tr class="clientareatableactive"> <td>{$server.name}</td> <td>{get_port_status num="$num" port="80"}</td> <td>{get_port_status num="$num" port="21"}</td> <td>{get_port_status num="$num" port="110"}</td> <td>{get_port_status num="$num" port="25"}</td> <td><a href="{$server.phpinfourl}" target="_blank">{$LANG.serverstatusphpinfo}</a></td> <td>{$server.serverload}</td> <td>{$server.uptime}</td> </tr> {foreachelse} <tr class="clientareatableactive"> <td colspan="7">{$LANG.serverstatusnoservers}</td> </tr> {/foreach} </table> Thanks Karl 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 6, 2008 Share Posted August 6, 2008 That should work. Do you have the SMTP port open in your server to allow remote connections on port 25? Many users will lock down the port so that remote calls to that port are not possible (it helps cut down spammers using your mail system). Run this test to make sure port 25 is accessible: telnet IPNUMBER 25 Example: telnet 11.22.33.44 25 This should return a CONNECT response and verify that the port is able to be connected on. 0 Quote Link to comment Share on other sites More sharing options...
2source Posted August 6, 2008 Author Share Posted August 6, 2008 That port is open, and I can telnet into it, although the SMTP service is locked down if you try ad send mail through it. A little strange but I tried another port and that didnt work either, but the standard ones that come in the status page are working fine. 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 7, 2008 Share Posted August 7, 2008 Not sure dude. We use a different status script here that was discussed in another forum which checks ports etc specific to only the server that the user is on. We do not display all our servers as that page would be pretty extensive. May want to drop a note to Matt and see what his thoughts are on this. 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.