2018-04-12 05:31:31 +00:00
|
|
|
<h1>Probes</h1>
|
2018-05-31 09:45:40 +00:00
|
|
|
<of-error-message [error]="error$ | async" [closable]="false"></of-error-message>
|
|
|
|
<of-block-progressbar [target]="content" [pending]="pending$ | async"></of-block-progressbar>
|
2018-05-29 12:18:43 +00:00
|
|
|
|
2018-05-26 09:08:40 +00:00
|
|
|
<p-panel #content [showHeader]="false" class="block-panel">
|
2018-06-04 10:03:59 +00:00
|
|
|
<p-table [value]="probeHosts" selectionMode="single" (onRowSelect)="onProbeSelect($event)" [resizableColumns]="true">
|
2018-05-26 09:08:40 +00:00
|
|
|
<ng-template pTemplate="header">
|
|
|
|
<tr>
|
|
|
|
<th>Probe Name</th>
|
|
|
|
<th>Uptime</th>
|
|
|
|
<th style="width:10em">CIDR</th>
|
2018-06-15 03:56:54 +00:00
|
|
|
<th style="width:10em">Host IP</th>
|
|
|
|
<th style="width:8em">OS</th>
|
|
|
|
<th style="width:10em">Iface</th>
|
2018-05-26 09:08:40 +00:00
|
|
|
<th pResizableColumn>Targets</th>
|
|
|
|
<th style="width:8em">Authroized at</th>
|
|
|
|
<th style="width:9em">Authroized by</th>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
<ng-template pTemplate="body" let-probeHost>
|
|
|
|
<tr [pSelectableRow]="probeHost">
|
2018-06-14 11:20:17 +00:00
|
|
|
<td>{{probeHost.probe.name}}</td>
|
2018-05-26 09:08:40 +00:00
|
|
|
<td>{{getUptime(probeHost.probe)}}</td>
|
|
|
|
<td>{{probeHost.probe.cidr}}</td>
|
2018-06-15 09:36:35 +00:00
|
|
|
<td>{{probeHost.infraHost.infraHostIPs[0].address}}</td>
|
2018-06-15 03:56:54 +00:00
|
|
|
<td>{{probeHost.infraHost.infraHostOS.name}}</td>
|
|
|
|
<td>{{probeHost.infraHost.infraZone.iface}}</td>
|
2018-05-26 09:08:40 +00:00
|
|
|
<td>{{probeHost.probe.targetCount}}</td>
|
|
|
|
<td>{{probeHost.probe.authorizeDate | date: 'dd.MM.yyyy'}}</td>
|
|
|
|
<td>{{probeHost.probe.authorizeMember.name}}</td>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
</p-table>
|
|
|
|
</p-panel>
|