Health check

This commit is contained in:
Dane Everitt 2019-12-16 21:42:58 -08:00
parent 7405d7c8ee
commit d75073116f
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@
</tr>
@foreach ($nodes as $node)
<tr>
<td class="text-center text-muted left-icon" data-action="ping" data-secret="{{ $node->daemonSecret }}" data-location="{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/v1"><i class="fa fa-fw fa-refresh fa-spin"></i></td>
<td class="text-center text-muted left-icon" data-action="ping" data-secret="{{ $node->daemonSecret }}" data-location="{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/api/system"><i class="fa fa-fw fa-refresh fa-spin"></i></td>
<td>{!! $node->maintenance_mode ? '<span class="label label-warning"><i class="fa fa-wrench"></i></span> ' : '' !!}<a href="{{ route('admin.nodes.view', $node->id) }}">{{ $node->name }}</a></td>
<td>{{ $node->location->short }}</td>
<td>{{ $node->memory }} MB</td>
@ -87,7 +87,7 @@
type: 'GET',
url: $(element).data('location'),
headers: {
'X-Access-Token': $(element).data('secret'),
'Authorization': 'Bearer ' + $(element).data('secret'),
},
timeout: 5000
}).done(function (data) {