This commit is contained in:
parent
09e479201b
commit
be95054f69
1 changed files with 6 additions and 6 deletions
|
@ -24,7 +24,7 @@
|
||||||
<table class="table">
|
<table class="table">
|
||||||
{{range $key, $val := .checks.DiscSpace.Data}}
|
{{range $key, $val := .checks.DiscSpace.Data}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $key }}</td>
|
<td style="width: 20%">{{ $key }}</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="progress-bar" role="progressbar" style="width: {{ $val }}%;" aria-valuenow="{{ $val }}" aria-valuemin="0" aria-valuemax="100">{{ $val }}%</div>
|
<div class="progress-bar" role="progressbar" style="width: {{ $val }}%;" aria-valuenow="{{ $val }}" aria-valuemin="0" aria-valuemax="100">{{ $val }}%</div>
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Ram</th>
|
<th style="width: 20%">Ram</th>
|
||||||
<td>
|
<td>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="progress-bar" role="progressbar" style="width: {{ .checks.MemoryUsage.Data.ram }}%;" aria-valuenow="{{ .checks.MemoryUsage.Data.ram }}" aria-valuemin="0" aria-valuemax="100">{{ .checks.MemoryUsage.Data.ram }}%</div>
|
<div class="progress-bar" role="progressbar" style="width: {{ .checks.MemoryUsage.Data.ram }}%;" aria-valuenow="{{ .checks.MemoryUsage.Data.ram }}" aria-valuemin="0" aria-valuemax="100">{{ .checks.MemoryUsage.Data.ram }}%</div>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Swap</th>
|
<th style="width: 20%">Swap</th>
|
||||||
<td>
|
<td>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="progress-bar" role="progressbar" style="width: {{ .checks.MemoryUsage.Data.swap }}%;" aria-valuenow="{{ .checks.MemoryUsage.Data.swap }}" aria-valuemin="0" aria-valuemax="100">{{ .checks.MemoryUsage.Data.swap }}%</div>
|
<div class="progress-bar" role="progressbar" style="width: {{ .checks.MemoryUsage.Data.swap }}%;" aria-valuenow="{{ .checks.MemoryUsage.Data.swap }}" aria-valuemin="0" aria-valuemax="100">{{ .checks.MemoryUsage.Data.swap }}%</div>
|
||||||
|
@ -78,15 +78,15 @@
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>1</th>
|
<th style="width: 20%">1</th>
|
||||||
<td>{{ .checks.SystemLoad.Data.Loadavg1 }}</td>
|
<td>{{ .checks.SystemLoad.Data.Loadavg1 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>5</th>
|
<th style="width: 20%">5</th>
|
||||||
<td>{{ .checks.SystemLoad.Data.Loadavg5 }}</td>
|
<td>{{ .checks.SystemLoad.Data.Loadavg5 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>15</th>
|
<th style="width: 20%">15</th>
|
||||||
<td>{{ .checks.SystemLoad.Data.Loadavg15 }}</td>
|
<td>{{ .checks.SystemLoad.Data.Loadavg15 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue