@if(!$status) Unable to Load Server Status

Could not retrieve status from hypervisor:

Retry
@else @php // Resource calculations $cpuCores = max(1, (int)($status->cpus ?? 1)); $cpuUsagePercent = round(max(0, ($status->cpu ?? 0) * 100), 1); $memoryTotal = (int)($status->maxmem ?? 0); $memoryUsed = (int)($status->mem ?? 0); $memoryPercent = $memoryTotal > 0 ? round(($memoryUsed / $memoryTotal) * 100, 1) : 0; $diskTotal = (int)($status->maxdisk ?? 0); $diskUsed = (int)($status->disk ?? 0); $diskPercent = $diskTotal > 0 ? round(($diskUsed / $diskTotal) * 100, 1) : 0; // Uptime $reportedUptime = $this->status && isset($this->status->uptime) ? $this->formatSeconds($this->status->uptime) : 'N/A'; // Power stats $powerStats = $this->powerEventStats ?? ['starts' => 0, 'shutdowns' => 0, 'reboots' => 0]; // Network totals $totalNetIn = (int)($status->netin ?? 0); $totalNetOut = (int)($status->netout ?? 0); // Product/Service info $productSettings = $server->service?->product?->settings ?? collect(); $allocatedCores = $productSettings->where('key', 'cores')->first()?->value ?? $cpuCores; $allocatedMemoryMiB = $productSettings->where('key', 'memory')->first()?->value ?? 0; $allocatedDiskGiB = $productSettings->where('key', 'disk')->first()?->value ?? 0; $allocatedBackups = $productSettings->where('key', 'backups')->first()?->value ?? 0; $serviceExpires = $server->service?->expires_at; $serviceStatus = $server->service?->status ?? 'unknown'; $productName = $server->service?->product?->name ?? 'Unknown Product'; $locationName = $server->node?->location?->name ?? 'Unknown'; $nodeName = $server->node?->name ?? 'Unknown'; // Badge helper $getBadge = function($percent) { if ($percent >= 90) return ['label' => 'Critical', 'class' => 'bg-error/15 text-error']; if ($percent >= 75) return ['label' => 'Warning', 'class' => 'bg-warning/15 text-warning']; return ['label' => 'Healthy', 'class' => 'bg-success/15 text-success']; }; @endphp

Resource Metrics

@if($status->status === 'running') Running @else Stopped @endif
CPU
{{ $getBadge($cpuUsagePercent)['label'] }}
{{ $cpuUsagePercent }}%

{{ $cpuCores }} vCPU allocated

Memory
{{ $getBadge($memoryPercent)['label'] }}
{{ $memoryPercent }}%

{{ \Illuminate\Support\Number::fileSize($memoryUsed) }} / {{ \Illuminate\Support\Number::fileSize($memoryTotal) }}

Uptime
Live
{{ $reportedUptime }}

{{ $powerStats['starts'] }} starts • {{ $powerStats['shutdowns'] }} stops • {{ $powerStats['reboots'] }} reboots

Server Details

Status @if($status->status === 'running') @endif {{ ucfirst($status->status) }}
Operating System {{ $server->os->name ?? 'Unknown' }}
Hostname
{{ $server->hostname ?? $status->name ?? 'N/A' }}
@if($server->primaryIpv4)
IPv4 Address
{{ $server->primaryIpv4->ip }}
@endif @if($server->primaryIpv6)
IPv6 Address
{{ $server->primaryIpv6->ip }}
@endif
Root Password
@if($server->password) •••••••• @else Emailed @endif
Reinstall Server

Permanently deletes all data

DNS Configuration

@if($server->primaryIpv6) @php $ipv6Dashed = str_replace(':', '-', $server->primaryIpv6->ip); $dnsOptions = [ ['name' => 'Virtnet Internal', 'domain' => $ipv6Dashed . '.virtnet.host', 'type' => 'Internal'], ['name' => 'nip.io', 'domain' => $ipv6Dashed . '.nip.io', 'type' => 'Public'], ['name' => 'sslip.io', 'domain' => $ipv6Dashed . '.sslip.io', 'type' => 'Public'], ]; @endphp @foreach($dnsOptions as $dns)
{{ $dns['name'] }} {{ $dns['type'] }}
{{ $dns['domain'] }}
@endforeach @else

No IPv6 address assigned

@endif

These hostnames automatically resolve to your server's IP address.

Notes

(Markdown supported)
@if($isEditingNotes)
@if($notesError)

{{ $notesError }}

@endif
@else
@if($notes) {!! \Illuminate\Support\Str::markdown(e($notes), ['allow_unsafe_links' => false]) !!} @else

No notes yet. Click Edit to add some.

@endif
@endif

Server Information

Specifications

vCPU {{ $allocatedCores }} cores
Memory {{ $allocatedMemoryMiB > 0 ? number_format($allocatedMemoryMiB / 1024, 1) . ' GiB' : \Illuminate\Support\Number::fileSize($memoryTotal) }}
Storage {{ $allocatedDiskGiB > 0 ? $allocatedDiskGiB . ' GiB' : ($diskTotal > 0 ? number_format($diskTotal / 1073741824, 0) . ' GiB' : 'N/A') }}

Network Transfer

Inbound {{ \Illuminate\Support\Number::fileSize($totalNetIn) }}
Outbound {{ \Illuminate\Support\Number::fileSize($totalNetOut) }}
Total {{ \Illuminate\Support\Number::fileSize($totalNetIn + $totalNetOut) }}

Billing

Product {{ $productName }}
Status {{ ucfirst($serviceStatus) }}
Renewal {{ $serviceExpires?->format('M d, Y') ?? 'N/A' }}

Infrastructure

Datacenter {{ $locationName }}
Node {{ $nodeName }}
VM ID {{ $server->vm_id ?? 'N/A' }}

Identifiers

Server ID {{ $server->id }}
Service ID {{ $server->service_id ?? 'N/A' }}
Created {{ $server->created_at?->format('M d, Y') ?? 'N/A' }}

Live Usage

CPU
{{ $cpuUsagePercent }}%
Memory
{{ $memoryPercent }}%
@if($diskTotal > 0)
Disk
{{ $diskPercent }}%
@endif
@if($server->os && stripos($server->os->name, 'Windows') !== false)

Windows Configuration

Windows doesn't support cloud-init. You'll need to manually configure networking and system settings.

Network

Configure IP manually

Licensing

You provide license

Compliance

Subject to audits

@endif
@endif