2018-04-12 14:31:31 +09:00
|
|
|
<h1>Probes</h1>
|
2018-04-25 18:04:47 +09:00
|
|
|
<p-table [value]="probeHosts" selectionMode="single" (onRowSelect)="onRowSelect($event)" [resizableColumns]="true">
|
2018-04-09 20:03:15 +09:00
|
|
|
<ng-template pTemplate="header">
|
|
|
|
<tr>
|
|
|
|
<th>Probe Name</th>
|
2018-05-14 18:02:48 +09:00
|
|
|
<th>Uptime</th>
|
2018-04-17 20:43:37 +09:00
|
|
|
<th style="width:10em">IP</th>
|
|
|
|
<th style="width:8em">OS</th>
|
|
|
|
<th style="width:10em">CIDR</th>
|
2018-04-11 17:41:38 +09:00
|
|
|
<th pResizableColumn>Targets</th>
|
2018-04-17 20:43:37 +09:00
|
|
|
<th style="width:8em">Authroized at</th>
|
|
|
|
<th style="width:9em">Authroized by</th>
|
2018-04-09 20:03:15 +09:00
|
|
|
</tr>
|
|
|
|
</ng-template>
|
2018-04-25 18:04:47 +09:00
|
|
|
<ng-template pTemplate="body" let-probeHost>
|
2018-04-26 20:23:57 +09:00
|
|
|
<tr [pSelectableRow]="probeHost">
|
2018-04-25 18:04:47 +09:00
|
|
|
<td>{{probeHost.probe.displayName}}</td>
|
2018-05-14 18:02:48 +09:00
|
|
|
<td>{{getUptime(probeHost.probe)}}</td>
|
2018-04-26 20:23:57 +09:00
|
|
|
<td>{{probeHost.host.ipv4}}</td>
|
|
|
|
<td>{{probeHost.host.os.vendor.name}}</td>
|
2018-04-25 18:04:47 +09:00
|
|
|
<td>{{probeHost.probe.cidr}}</td>
|
2018-04-29 19:43:14 +09:00
|
|
|
<td>{{probeHost.probe.targetCount}}</td>
|
2018-04-25 18:04:47 +09:00
|
|
|
<td>{{probeHost.probe.authorizeDate | date: 'dd.MM.yyyy'}}</td>
|
|
|
|
<td>{{probeHost.probe.authorizeMember.name}}</td>
|
2018-04-09 20:03:15 +09:00
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
</p-table>
|