Jump to content

Server Status / Monitoring


2source

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated