Jump to content

Services status page


AMateos

Recommended Posts

If we want to use a external monitor like siteuptime for example. How can we delete Server Load column and modify Uptime column to show a link to our monitoring service?

 

Is it possible to add the monitoring service url like server status files and show the link at uptime?

Link to comment
Share on other sites

Hi again,

I have edited serverstatus.tpl file in my templates. There is the following code:

 

<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>{$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><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>

 

I have bold the important part. How can we get the url to the server status page without the PHP info added?

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