{{ currentView === 'dashboard' ? 'Infrastructure NOC Dashboard' : (currentView === 'nodes' ? 'VPN Server Nodes Management' : 'Manajemen Pengguna & Hak Akses') }}
SYSTEM HEALTHYTotal VPN Servers
{{ stats.total_server_nodes || 0 }}
Managed Nodes
Total MikroTik
{{ stats.total_mikrotik_routers || 0 }}
Registered Routers
Connected
{{ stats.vpn_connected || 0 }}
Active Tunnels
Disconnected
{{ stats.vpn_disconnected || 0 }}
Idle / Offline
Error
{{ stats.vpn_error || 0 }}
Attention Required
Active Protocols
{{ stats.active_vpn_protocols ? stats.active_vpn_protocols.length : 0 }}
WG / OVPN / L2TP
⚡ Control Plane Host Resources
Memory (RAM)
{{ stats.system_resources?.ram_used_mb }} / {{ stats.system_resources?.ram_total_mb }} MB ({{ stats.system_resources?.ram_percent }}%)
Storage (Disk)
{{ stats.system_resources?.disk_used_gb }} / {{ stats.system_resources?.disk_total_gb }} GB ({{ stats.system_resources?.disk_percent }}%)
CPU Load
{{ stats.system_resources?.cpu_percent }}%
🛡 Protocol Support & Target Capabilities
WireGuard
High throughput kernel tunneling
Port: UDP 51820
Target: RouterOS v7.x
OpenVPN
PKI X.509 SSL/TLS Certificate
Port: TCP 1194 (ROS 6) / UDP (ROS 7)
Target: RouterOS v6 & v7
L2TP / IPsec
Universal NAT-Traversal Tunneling
Port: UDP 500, 4500, 1701
Target: RouterOS v6 & v7
📋 Recent Audit & Infrastructure Events
| Timestamp | Action | Entity | User | IP Address |
|---|---|---|---|---|
| {{ formatDate(act.created_at) }} | {{ act.action }} | {{ act.entity_type || '—' }} | {{ act.username }} | {{ act.ip_address || '—' }} |
| No recent activities recorded yet. | ||||
VPN Server Nodes Inventory
Register, test SSH connection, and monitor health of managed Linux servers.
| Node Name | Host / IP | SSH Info | Status | OS & Kernel | Active Protocols | Actions |
|---|---|---|---|---|---|---|
| {{ node.name }} | {{ node.host_ip }} | {{ node.ssh_user }}@:{{ node.ssh_port }} {{ node.has_ssh_key ? 'SSH-KEY' : 'PASSWORD' }} | {{ node.status }} |
{{ node.os_distribution || 'Pending Check' }}
{{ node.kernel_version || '' }}
|
{{ p }}
None
|
|
| No server nodes registered yet. Click "Register New Server Node" to add your first VPS/VM. | ||||||
👥 Manajemen Pengguna & Hak Akses
Kelola akun operator, teknisi jaringan, auditor, dan amankan akun Super Admin.
Total Pengguna
{{ userStats.total_users || 0 }}
Akun Terdaftar
Pengguna Aktif
{{ userStats.active_users || 0 }}
Dapat Login
Pengguna Nonaktif
{{ userStats.inactive_users || 0 }}
Akses Dibekukan
Super Admin
{{ userStats.super_admins || 0 }}
Hak Akses Penuh
🔍
| # | Nama Lengkap | Username | Role | Status | Terakhir Login | Dibuat Pada | Aksi | |
|---|---|---|---|---|---|---|---|---|
| {{ userSkip + idx + 1 }} |
{{ u.username ? u.username[0].toUpperCase() : 'U' }}
{{ u.full_name || '—' }}
(Akun Anda)
|
{{ u.username }} | {{ u.email }} | {{ u.role }} | {{ u.is_active ? '● Aktif' : '○ Nonaktif' }} | {{ formatDate(u.last_login_at) }} | {{ formatDate(u.created_at) }} | |
|
Tidak ada data pengguna yang sesuai dengan kriteria pencarian.
|
||||||||
Menampilkan {{ userTotal > 0 ? userSkip + 1 : 0 }} -
{{ Math.min(userSkip + userLimit, userTotal) }} dari
{{ userTotal }} pengguna
|