This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/views/nodes/detail.php

185 lines
6.3 KiB
PHP
Raw Normal View History

2011-04-07 05:03:05 +00:00
<table width="100%">
<tr>
<td style="width: 50%; vertical-align: top;">
<table class="box-full">
<tr>
<td class="head" colspan="2">Node Information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Node Name</td>
2011-05-31 14:51:15 +00:00
<td style="width: 60%;" class="data"><?php echo $node->display('NODE_NAME'); ?> (<?php echo $node->URL ? HTML::anchor($node->URL,$node->display('TCP_ADDRESS')) : $node->display('TCP_ADDRESS'); ?>)</td>
</tr>
<tr>
<td>Node Contact</td>
<td class="data"><?php echo $node->display('CONTACT'); echo $node->EMAIL_ADDRESS ? ' ('.HTML::mailto($node->EMAIL_ADDRESS).')' : ''; ?> </td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Operating Sytem</td>
2011-05-31 14:51:15 +00:00
<td class="data"><?php echo $node->platform(); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>TSM Client Version</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->tsmclientversion(); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Date Registered</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('REG_TIME'); ?> (by <?php echo $node->display('REG_ADMIN'); ?>)</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Date Last Password Change</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('PWSET_TIME'); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Password Expiry</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->passexp(); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Invalid Password Count</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('INVALID_PW_COUNT'); ?> (<?php echo $node->LOCKED == 'NO' ? _('Not Locked') : _('Locked'); ?>)</td>
2011-04-07 05:03:05 +00:00
</tr>
</table>
</td>
<td style="width: 50%; vertical-align: top;">
<table class="box-full">
2011-04-07 05:03:05 +00:00
<tr>
2011-04-08 05:34:04 +00:00
<td class="head" colspan="2">Last Session Performance Information</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Last Access</td>
2011-05-27 11:08:44 +00:00
<td style="width: 60%;" class="data"><?php echo $node->display('LASTACC_TIME'); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Sent</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo number_format($node->LASTSESS_SENT/1024/1024,2); ?> MB</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Receive</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo number_format($node->LASTSESS_RECVD/1024/1024,2); ?> MB</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Duration</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo number_format($node->LASTSESS_DURATION/60,2); ?> min</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Session Idle Wait Percent</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('LASTSESS_IDLEWAIT'); ?>% (<?php echo number_format($node->LASTSESS_DURATION*($node->LASTSESS_IDLEWAIT/100),2); ?>s)</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Session Comm Wait Percent</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('LASTSESS_COMMWAIT'); ?>% (<?php echo number_format($node->LASTSESS_DURATION*($node->LASTSESS_COMMWAIT/100),2); ?>s)</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Session Media Wait Percent</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('LASTSESS_MEDIAWAIT'); ?>% (<?php echo number_format($node->LASTSESS_DURATION*($node->LASTSESS_MEDIAWAIT/100),2); ?>s)</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Session Transfer Percent</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo number_format($node->lasttransferpercent(),2); ?>% (<?php echo number_format($node->lasttransfertime(),2); ?>s)</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Session Send Performance</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo number_format($node->lastsendperformance(),2); ?> MB/s (<?php echo number_format($node->lastsendaggperformance(),2); ?> MB/s Aggregate)</td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Last Session Receive Performance</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo number_format($node->lastreceiveperformance(),2); ?> MB/s (<?php echo number_format($node->lastreceiveaggperformance(),2); ?> MB/s Aggregate)</td>
2011-04-07 05:03:05 +00:00
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;">
<table class="box-full">
<tr>
<td class="head" colspan="2">Backup Settings</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
2011-05-31 14:51:15 +00:00
<td style="width: 40%;">Domain</td>
<td style="width: 60%;" class="data"><?php echo HTML::anchor('domain/detail/'.$node->DOMAIN,$node->display('DOMAIN')); ?></td>
</tr>
<tr>
<td>Client Option Set</td>
<td class="data"><?php echo $node->display('OPTION_SET'); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Collocation Group</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->COLLOCGROUP_NAME ? $node->display('COLLOCGROUP_NAME') : 'Not Set'; ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Client Compression</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('COMPRESSION'); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>TXN Group Max</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->txngroupmax(); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Delete Archives</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('ARCHDELETE'); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Delete Backups</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('BACKDELETE'); ?></td>
2011-04-07 05:03:05 +00:00
</tr>
<tr>
<td>Keep Mount Points</td>
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $node->display('KEEP_MP'); ?> (<?php echo $node->display('MAX_MP_ALLOWED'); ?>)</td>
2011-04-07 05:03:05 +00:00
</tr>
</table>
</td>
<td style="width: 50%; vertical-align: top;">
&nbsp;
</td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;">
2011-05-31 14:51:15 +00:00
<?php echo View::factory('nodes/policy')->set('domain',$node->DOMAIN); ?>
</td>
<td style="width: 50%; vertical-align: top;">
<table class="box-full">
<tr>
<td class="head" colspan="2">Server Side Client Options</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Client Option</td>
<td>Seq #</td>
<td>Setting</td>
<td>Forced</td>
</tr>
<?php if ($node->OPTION_SET) { ?>
<?php $i=0; foreach ($node->CLIENTOPT->find_all() as $coo) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
2011-05-27 11:08:44 +00:00
<td class="data"><?php echo $coo->display('OPTION_NAME'); ?></td>
<td class="data"><?php echo $coo->display('SEQNUMBER'); ?></td>
<td class="data"><?php echo $coo->display('OPTION_VALUE'); ?></td>
<td class="data"><?php echo $coo->display('FORCE'); ?></td>
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<td>This node is not configured for any server side Client Options</td>
</tr>
<?php } ?>
</table>
2011-04-07 05:03:05 +00:00
</td>
</tr>
</table>