Moved the Agents into their own repo. Kept the agent.pl just for reference
This commit is contained in:
parent
22381be29a
commit
8680a02b13
18132 changed files with 0 additions and 2569420 deletions
|
|
@ -1,109 +0,0 @@
|
|||
{if !isset($sid)}
|
||||
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
|
||||
<meta http-equiv="refresh" content="3; URL=index.php?site=servertraffic" />
|
||||
{/if}
|
||||
<table align="center" style="width:50%" class="border" cellpadding="1" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:100%" class="thead" colspan="3">{$lang['instancetraffic']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:33%" class="thead">{$lang['description']}</td>
|
||||
<td style="width:33%" class="thead">{$lang['incoming']}</td>
|
||||
<td style="width:33%" class="thead">{$lang['outgoing']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['packetstransfered']}</td>
|
||||
<td class="green1 center">{$hostinfo['connection_packets_received_total']}</td>
|
||||
<td class="green1 center">{$hostinfo['connection_packets_sent_total']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green2">{$lang['bytestransfered']}</td>
|
||||
<td class="green2 center">{$hostinfo['connection_bytes_received_total']}</td>
|
||||
<td class="green2 center">{$hostinfo['connection_bytes_sent_total']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['bandwidthlastsecond']}</td>
|
||||
<td class="green1 center">{$hostinfo['connection_bandwidth_received_last_second_total']} /s</td>
|
||||
<td class="green1 center">{$hostinfo['connection_bandwidth_sent_last_second_total']} /s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green2">{$lang['bandwidthlastminute']}</td>
|
||||
<td class="green2 center">{$hostinfo['connection_bandwidth_received_last_minute_total']} /s</td>
|
||||
<td class="green2 center">{$hostinfo['connection_bandwidth_sent_last_minute_total']} /s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['filetransferbandwidth']}</td>
|
||||
<td class="green1 center">{$hostinfo['connection_filetransfer_bandwidth_received']} /s</td>
|
||||
<td class="green1 center">{$hostinfo['connection_filetransfer_bandwidth_sent']} /s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
|
||||
<a href="index.php?site=servertraffic&refresh=off">{$lang['stoprefresh']}</a>
|
||||
{else}
|
||||
<a href="index.php?site=servertraffic&refresh=on">{$lang['autorefresh']}</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if isset($permoverview['b_virtualserver_info_view']) AND empty($permoverview['b_virtualserver_info_view'])}
|
||||
<table align="center" style="width:50%" class="border" cellpadding="1" cellspacing="0">
|
||||
|
||||
<tr>
|
||||
<td class="thead">{$lang['error']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['nopermissions']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
|
||||
<meta http-equiv="refresh" content="3; URL=index.php?site=servertraffic&sid={$sid}" />
|
||||
{/if}
|
||||
<table align="center" style="width:50%" class="border" cellpadding="1" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:100%" class="thead" colspan="3">{$lang['virtualtraffic']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:33%" class="thead">{$lang['description']}</td>
|
||||
<td style="width:33%" class="thead">{$lang['incoming']}</td>
|
||||
<td style="width:33%" class="thead">{$lang['outgoing']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['packetstransfered']}</td>
|
||||
<td class="green1 center">{$serverinfo['connection_packets_received_total']}</td>
|
||||
<td class="green1 center">{$serverinfo['connection_packets_sent_total']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green2">{$lang['bytestransfered']}</td>
|
||||
<td class="green2 center">{$serverinfo['connection_bytes_received_total']}</td>
|
||||
<td class="green2 center">{$serverinfo['connection_bytes_sent_total']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['bandwidthlastsecond']}</td>
|
||||
<td class="green1 center">{$serverinfo['connection_bandwidth_received_last_second_total']} /s</td>
|
||||
<td class="green1 center">{$serverinfo['connection_bandwidth_sent_last_second_total']} /s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green2">{$lang['bandwidthlastminute']}</td>
|
||||
<td class="green2 center">{$serverinfo['connection_bandwidth_received_last_minute_total']} /s</td>
|
||||
<td class="green2 center">{$serverinfo['connection_bandwidth_sent_last_minute_total']} /s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['filetransferbandwidth']}</td>
|
||||
<td class="green1 center">{$serverinfo['connection_filetransfer_bandwidth_received']} /s</td>
|
||||
<td class="green1 center">{$serverinfo['connection_filetransfer_bandwidth_sent']} /s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
|
||||
<a href="index.php?site=servertraffic&sid={$sid}&refresh=off">{$lang['stoprefresh']}</a>
|
||||
{else}
|
||||
<a href="index.php?site=servertraffic&sid={$sid}&refresh=on">{$lang['autorefresh']}</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
{/if}
|
||||
Loading…
Add table
Add a link
Reference in a new issue