You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2d6343e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/webui-representation.es.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,7 @@ con un cuerpo `{"ok": bool, "message": string}` para una acción atendida.
160
160
| --- | --- | --- |
161
161
| Acción de servicio |`POST /api/services/{name}/{action}[?no_cascade=1]`|`monitor`, `unmonitor`, `start`, `stop`, `restart`, `reload`, `resume`; `reload` se ofrece solo cuando el servicio informa `can_reload` desde soporte de reload del backend de init o desde un fallback `reload:` válido; `no_cascade` omite los objetivos de `also_apply` en start/stop/restart |
162
162
| Preflight de servicio |`POST /api/services/{name}/preflight`| ejecuta los checks de preflight sin cambiar el estado del servicio |
163
+
| Cerrar sesión SSH |`POST /api/services/{name}/sessions/{pid}/close?start_ticks=TICKS&terminal=PTS`| solo admin y con confirmación: cierre elegante de un terminal SSH mostrado; el backend redescubre el terminal, el ejecutable `sshd` configurado exacto y su usuario real, exige el mismo PID y ticks de inicio y solo envía `SIGTERM`|
163
164
| Acción de watch |`POST /api/watches/{name}/{action}`|`monitor`, `unmonitor`, `expand`, `probe` (una muestra manual), más `pause`/`resume` de RAID, que ejecutan una operación de re-chequeo y verificación y requieren la cabecera `X-Sermo-Confirm`|
164
165
| Prueba de notifier |`POST /api/notifiers/{name}/test`| envía una notificación de prueba por el notifier nombrado tras confirmación |
165
166
| Acción de montaje |`POST /api/mounts/{name}/{action}[?force=1&lazy=1&kill=1]`|`mount`, `umount`, `alert`; `force=1` permite `umount -f`, `lazy=1` permite `umount -l` como último fallback y `kill=1` habilita señalización de blockers limitada por `kill_only_if`; `/` rechaza las rutas de desmontaje |
@@ -180,6 +181,7 @@ con un cuerpo `{"ok": bool, "message": string}` para una acción atendida.
180
181
| Refresco | selector con intervalo de refresco, botón de refresco manual |
181
182
| Notificaciones | campana de notificaciones del navegador (opt-in); con el permiso concedido, los objetivos que empiezan a fallar generan una única notificación agrupada mientras la pestaña está oculta |
182
183
| Estado | antigüedad del último refresco completo, errores de conexión o lista de paneles que conservan datos anteriores tras un refresco parcial; `#statusbar` termina con el `uptime:` del host y luego el `status:` del daemon (`ok` / `starting` / …) como una cola emparejada |
184
+
| Sesiones | cuando se puede atribuir con seguridad un servicio SSH configurado, `sessions (console/SSH): X/Z` es el número de terminales locales y SSH con login; reemplaza el recuento anterior de usuarios distintos, así que tres terminales de la misma cuenta se ven como `0/3`, no como `1`|
183
185
| Estado del sistema | identidad del host, tipo de host, resumen de daemon/backend/runtime |
184
186
185
187
Notas editables:
@@ -308,6 +310,7 @@ Compartida por los paneles Services, Containers y Virtual machines:
308
310
| Datos generales | una cuadrícula sin encabezado, primera área de la expansión: nombre, estado, categoría, unidad/backend, uptime, intervalo, política, locks, último evento, próxima remediación, estado de remediación y totales del proceso; mientras la insignia de la fila sea `starting`, la expansión puede mostrar todavía el backend de init en bruto (`inactive`) y muestras de check en curso del ciclo de solo observación |
309
311
| Gráficos | línea temporal de SLA a ancho completo seguida de gráficos de latencia, CPU, memoria e IO; cada servicio persiste su propia ventana temporal y check de latencia; los servicios `no_resident_process` muestran solo SLA porque no tienen runtime de procesos para graficar |
310
312
| Procesos | tabla del árbol de procesos detectado a ancho completo, con los procesos hijos marcados en CMD y mantenidos bajo su padre; **Max core** sigue a CPU e informa del uso máximo que ese proceso hizo de un solo core —su hilo más ocupado—, cuyo tooltip indica si el daemon lo midió por hilo o lo acotó con la tasa del proceso; las advertencias de descubrimiento se listan encima, una por línea; se omite cuando `no_resident_process` es true |
313
+
| Sesiones SSH | solo en un servicio SSH atribuido: usuario, terminal, PID de sesión y tiempo inactivo en vivo. Los administradores pueden confirmar **close** cuando exista un límite de sesión verificado; los invitados no tienen acción y una sesión no verificable se muestra pero no se puede cerrar |
311
314
| Checks | checks configurados y resultado actual; la columna SLA lleva la misma banda de disponibilidad que dibuja la línea temporal de SLA de Gráficas, sobre la ventana en la que esté el selector de esa sección, así que un tramo sin observar se ve como hueco rayado en ambas en vez de como un porcentaje plano en una |
312
315
| Locks con nombre | estado de los locks de runtime |
313
316
| Reglas | estado de las reglas de remediación/alerta |
Copy file name to clipboardExpand all lines: docs/webui-representation.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,7 @@ with an `{"ok": bool, "message": string}` body for a handled action.
150
150
| --- | --- | --- |
151
151
| Service action |`POST /api/services/{name}/{action}[?no_cascade=1]`|`monitor`, `unmonitor`, `start`, `stop`, `restart`, `reload`, `resume`; `reload` is offered only when the service reports `can_reload` from init backend reload support or a valid `reload:` fallback; `no_cascade` skips `also_apply` targets on start/stop/restart |
152
152
| Service preflight |`POST /api/services/{name}/preflight`| run preflight checks without changing service state |
153
+
| Close SSH session |`POST /api/services/{name}/sessions/{pid}/close?start_ticks=TICKS&terminal=PTS`| admin-only, confirmation-required graceful close of one displayed SSH terminal; the backend re-discovers the terminal plus exact configured `sshd` executable and real user, then requires the same PID and start ticks before sending only `SIGTERM`|
153
154
| Watch action |`POST /api/watches/{name}/{action}`|`monitor`, `unmonitor`, `expand`, `probe` (one manual sample), plus RAID `pause`/`resume`, which run a check-and-verify operation and require the `X-Sermo-Confirm` header |
154
155
| Notifier test |`POST /api/notifiers/{name}/test`| sends one test notification through the named notifier after confirmation |
155
156
| Mount action |`POST /api/mounts/{name}/{action}[?force=1&lazy=1&kill=1]`|`mount`, `umount`, `alert`; `force=1` allows `umount -f`, `lazy=1` allows `umount -l` as the last fallback, and `kill=1` enables `kill_only_if`-gated blocker signalling for `umount`; `/` rejects unmount paths |
@@ -170,6 +171,7 @@ with an `{"ok": bool, "message": string}` body for a handled action.
| Notifications | opt-in browser-notification bell; once granted, targets that newly start failing raise one grouped notification while the tab is hidden |
172
173
| Status | last complete refresh age, connection errors, or panels retaining older data after a partial refresh; `#statusbar` ends with host `uptime:` then daemon `status:` (`ok` / `starting` / …) as a paired tail |
174
+
| Sessions | when a configured SSH service can be attributed safely, `sessions (console/SSH): X/Z` is the number of logged-in local-console and SSH terminals; it replaces the former distinct-user count, so three terminals of the same account read `0/3`, not `1`|
173
175
| System status | host identity, host type, daemon/backend/runtime summary |
174
176
| Browser tab title | after the first full load: `Sermo - <host>` when healthy, `(N) Sermo - <host>` when attention has N signals, `Sermo - <host> · starting` while the daemon is starting; `<host>` is the short hostname from `GET /api/daemon` (same identity as the Basic auth realm) |
175
177
@@ -304,6 +306,7 @@ Shared by the Services, Containers and Virtual machines panels.
304
306
| General data | an unheaded grid, first area of the expansion: name, state, category, unit/backend, uptime, interval, policy, locks, last event, next remediation, remediation state and process totals; while the row badge is `starting`, expansion may still show the raw init backend (`inactive`) and in-flight check samples from the observe-only cycle |
305
307
| Graphs | full-width SLA timeline followed by latency, CPU, memory and IO charts; each service persists its own time window and latency check; `no_resident_process` services show only SLA because they have no process runtime to chart |
306
308
| Processes | full-width detected process tree table, with child processes marked in CMD and kept under their parent; **Max core** follows CPU and reports the most a single core was used by that process — its busiest thread — whose tooltip says whether the daemon measured it per thread or bounded it by the process rate; discovery warnings are listed above it, one per line; omitted when `no_resident_process` is true |
309
+
| SSH sessions | only on an attributed SSH service: live user, terminal, session PID and idle time. Admins can confirm **close** for a session with a verified boundary; guests have no action and an unverifiable session is displayed but cannot be closed |
307
310
| Checks | configured checks and current result; the SLA column carries the same availability band the Graphs SLA timeline draws, on the window that section's selector is on, so an unobserved stretch reads as a hatched gap in both instead of a flat percentage in one |
0 commit comments