Revision ff160984
Added by Jim Pingle almost 14 years ago
usr/local/www/status_lb_vs.php | ||
---|---|---|
77 | 77 |
<td width="10%" class="listhdrr"><?=gettext("Name"); ?></td> |
78 | 78 |
<td width="20%" class="listhdrr"><?=gettext("Address"); ?></td> |
79 | 79 |
<td width="10%" class="listhdrr"><?=gettext("Servers"); ?></td> |
80 |
<td width="20%" class="listhdrr"><?=gettext("Status"); ?></td>
|
|
81 |
<td width="30%" class="listhdr"><?=gettext("Description"); ?></td>
|
|
80 |
<td width="25%" class="listhdrr"><?=gettext("Status"); ?></td>
|
|
81 |
<td width="25%" class="listhdr"><?=gettext("Description"); ?></td>
|
|
82 | 82 |
</tr> |
83 | 83 |
<?php $i = 0; foreach ($a_vs as $vsent): ?> |
84 | 84 |
<tr> |
... | ... | |
117 | 117 |
$rdr_a[$vsent['name']]['status'] = 'Unknown - relayd not running?'; |
118 | 118 |
} |
119 | 119 |
?> |
120 |
<td class="listr"> |
|
121 |
<table border="0" cellpadding="3" cellspacing="2"><tr><td bgcolor="<?=$bgcolor?>"> <?=$rdr_a[$vsent['name']]['status']?> </td></tr></table> |
|
120 |
<td class="listr" nowrap> |
|
121 |
<table border="0" cellpadding="3" cellspacing="2"> |
|
122 |
<tr><td bgcolor="<?=$bgcolor?>"><?=$rdr_a[$vsent['name']]['status']?> </td></tr> |
|
123 |
</table> |
|
124 |
<?php |
|
125 |
if (!empty($rdr_a[$vsent['name']]['total'])) |
|
126 |
echo "Total Sessions: {$rdr_a[$vsent['name']]['total']}\n"; |
|
127 |
if (!empty($rdr_a[$vsent['name']]['last'])) |
|
128 |
echo "<br/>Last: {$rdr_a[$vsent['name']]['last']}\n"; |
|
129 |
if (!empty($rdr_a[$vsent['name']]['average'])) |
|
130 |
echo "<br/>Average: {$rdr_a[$vsent['name']]['average']}\n"; |
|
131 |
?> |
|
122 | 132 |
</td> |
123 | 133 |
<td class="listbg" > |
124 | 134 |
<?=$vsent['descr'];?> |
Also available in: Unified diff
Show session detail in Virtual Server status