vv_system_info(), 'varaverk' => vv_varaverk_state(), 'fallback' => vv_fallback_state(), 'fallback_active' => vv_fallback_active(), 'partner' => vv_partner_state(), 'resources' => vv_system_resources(), 'cpu' => vv_cpu_per_core(), 'mem' => vv_memory_breakdown(), 'net' => vv_network_stats(), 'gpu' => vv_gpu_stats(), 'gpus' => vv_gpu_stats_all(), 'gpu_procs' => vv_gpu_processes(), 'containers' => vv_docker_containers(), 'stopped' => vv_docker_stopped(), 'transcode' => vv_transcode_sessions(), 'ups' => vv_ups_stats(), 'parity' => vv_parity_status(), 'storage' => vv_storage_pools(), 'array_disks' => vv_array_disks(), 'disk_io' => vv_disk_io_rates(), 'watchdog' => vv_watchdog_summary(), 'scripts' => vv_scripts_status(), 'rsync' => vv_rsync_status(), 'thresholds' => vv_disk_thresholds(), 'vms' => vv_get_vms(), 'docker_folders' => vv_get_docker_folders(), 'remote_hosts' => vv_remote_hosts_stats(), 'ai' => $_vv_ai, '_api_status' => vv_api_get_status(), 'ts' => time(), ]; vv_cache_write('monitor', $monitor); // ── Arrs payload ────────────────────────────────────────────────────────────── $arrs = vv_arrs_all(); vv_cache_write('arrs', $arrs); // ── Watchdog payload ────────────────────────────────────────────────────────── // Here for the same reason as the other two: vv_wd_all() SSHes to every partner, which cost 8.3s // on this host with the partner unreachable, and the Watchdog tab polls every 30 seconds. Collected off the // request path it is paid once a minute by cron instead of by whoever has the tab open. require_once $_base . '/include/watchdog.php'; vv_cache_write('watchdog', vv_wd_all()); $elapsed = round((microtime(true) - $t) * 1000); echo "Cache written in {$elapsed}ms — monitor + arrs + watchdog\n";