Managed Instances - the ITFlow installs this one manages (functions/managed.php). * Each row says what it is and whose, the version it runs and whether an update is waiting, * how it's doing (from the report it sends every minute), its agents against the seat limit * set here, whether it's active, read-only or suspended, and when it last checked in. Removed * instances sit under Removed, where they can be deleted. Add Instance makes one and its * connection code; the handlers are admin/post/managed_instances.php. */ // Default Column Sortby Filter $sort = "managed_instance_name"; $order = "ASC"; require_once "includes/inc_all_admin.php"; // The manager's tables arrive with a migration - before it, say so rather than throw if (!settingsColumnExists($mysqli, 'config_manager_keys')) { ?>
| = $sort_link('managed_instance_name', 'Instance') ?> = $sort_link('client_name', 'by client') ?> | = $sort_link('managed_instance_version', 'Version') ?> | Health | Agents | = $sort_link('managed_instance_last_checkin_at', 'Last check-in') ?> | |
|---|---|---|---|---|---|
|
= $name ?>
= managedModePill($row['managed_instance_mode']) ?>
= $url !== '' ? escapeHtml(preg_replace('#^https?://#', '', $url)) : 'Waiting to connect' ?>= $row['client_name'] !== null && $row['client_name'] !== $row['managed_instance_name'] ? ' · ' . escapeHtml($row['client_name']) : '' ?>
= escapeHtml((string) ($row['managed_instance_version'] ?: '')) ?>
= escapeHtml($text) ?>
= $last_html ?>
|
= escapeHtml($row['managed_instance_version']) ?>
= !empty($update['release']) ? escapeHtml($update['release']) : intval($update['commits'] ?? 0) . ' new' ?>= !empty($update['security']) ? ' · security' : '' ?>
= $row['managed_instance_update_policy'] === 'auto' ? 'Updates itself' : 'Updated by hand' ?>
—
|
—
All good
= escapeHtml($text) ?>
2) { ?>and = count($health['issues']) - 2 ?> more
|
= intval($agents['active'] ?? 0) + intval($agents['invites'] ?? 0) ?>= $seat_limit > 0 ? ' of ' . $seat_limit : '' ?>
= $seat_limit > 0 ? 'seats' : 'agents, no limit' ?>
—
|
= $last_html ?> |
|